Browse Source

Merge CORE_XZ (PR#2503)

pull/1/head
Richard Wackerbarth 10 years ago
parent
commit
a0120a533c
  1. 10
      .travis.yml
  2. 5
      Marlin/stepper.cpp

10
.travis.yml

@ -140,6 +140,16 @@ script:
- sed -i 's/\/\/#define FILAMENT_LCD_DISPLAY/#define FILAMENT_LCD_DISPLAY/g' Marlin/Configuration.h - sed -i 's/\/\/#define FILAMENT_LCD_DISPLAY/#define FILAMENT_LCD_DISPLAY/g' Marlin/Configuration.h
- rm -rf .build/ - rm -rf .build/
- DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
# Enable COREXY
- cp Marlin/Configuration.h.backup Marlin/Configuration.h
- sed -i 's/\/\/#define COREXY/#define COREXY/g' Marlin/Configuration.h
- rm -rf .build/
- DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
# Enable COREXZ
- cp Marlin/Configuration.h.backup Marlin/Configuration.h
- sed -i 's/\/\/#define COREXZ/#define COREXZ/g' Marlin/Configuration.h
- rm -rf .build/
- DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
######## Example Configurations ############## ######## Example Configurations ##############
# Delta Config (generic) # Delta Config (generic)
- cp Marlin/example_configurations/delta/generic/Configuration* Marlin/ - cp Marlin/example_configurations/delta/generic/Configuration* Marlin/

5
Marlin/stepper.cpp

@ -374,7 +374,7 @@ inline void update_endstops() {
UPDATE_ENDSTOP(Y, MAX); UPDATE_ENDSTOP(Y, MAX);
#endif #endif
} }
#if defined(COREXY) || defined(COREXZ) #if defined(COREXY)
} }
#endif #endif
@ -459,6 +459,9 @@ inline void update_endstops() {
} }
#endif #endif
} }
#if defined(COREXZ)
}
#endif
old_endstop_bits = current_endstop_bits; old_endstop_bits = current_endstop_bits;
} }

Loading…
Cancel
Save