Browse Source

Merge CORE_XZ (PR#2503)

Richard Wackerbarth 9 years ago
parent
commit
a0120a533c
3 changed files with 16 additions and 3 deletions
  1. 10
    0
      .travis.yml
  2. 2
    2
      Marlin/Configuration.h
  3. 4
    1
      Marlin/stepper.cpp

+ 10
- 0
.travis.yml View File

@@ -140,6 +140,16 @@ script:
140 140
   - sed -i 's/\/\/#define FILAMENT_LCD_DISPLAY/#define FILAMENT_LCD_DISPLAY/g' Marlin/Configuration.h
141 141
   - rm -rf .build/
142 142
   - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega  Marlin/Marlin.ino
143
+  # Enable COREXY
144
+  - cp Marlin/Configuration.h.backup Marlin/Configuration.h
145
+  - sed -i 's/\/\/#define COREXY/#define COREXY/g' Marlin/Configuration.h
146
+  - rm -rf .build/
147
+  - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega  Marlin/Marlin.ino
148
+  # Enable COREXZ
149
+  - cp Marlin/Configuration.h.backup Marlin/Configuration.h
150
+  - sed -i 's/\/\/#define COREXZ/#define COREXZ/g' Marlin/Configuration.h
151
+  - rm -rf .build/
152
+  - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega  Marlin/Marlin.ino
143 153
   ######## Example Configurations ##############
144 154
   # Delta Config (generic)
145 155
   - cp Marlin/example_configurations/delta/generic/Configuration* Marlin/

+ 2
- 2
Marlin/Configuration.h View File

@@ -305,10 +305,10 @@ Here are some standard links for getting your machine calibrated:
305 305
 // @section machine
306 306
 
307 307
 // Uncomment this option to enable CoreXY kinematics
308
-// #define COREXY
308
+//#define COREXY
309 309
 
310 310
 // Uncomment this option to enable CoreXZ kinematics
311
-// #define COREXZ
311
+//#define COREXZ
312 312
 
313 313
 // Enable this option for Toshiba steppers
314 314
 //#define CONFIG_STEPPERS_TOSHIBA

+ 4
- 1
Marlin/stepper.cpp View File

@@ -374,7 +374,7 @@ inline void update_endstops() {
374 374
           UPDATE_ENDSTOP(Y, MAX);
375 375
         #endif
376 376
       }
377
-  #if defined(COREXY) || defined(COREXZ)
377
+  #if defined(COREXY)
378 378
     }
379 379
   #endif
380 380
 
@@ -459,6 +459,9 @@ inline void update_endstops() {
459 459
           }
460 460
         #endif
461 461
       }
462
+  #if defined(COREXZ)
463
+    }
464
+  #endif  
462 465
   old_endstop_bits = current_endstop_bits;
463 466
 }
464 467
 

Loading…
Cancel
Save