Browse Source

Merge branch 'Development' into cold_extrude

Latest upstream commits
Scott Lahteine 9 years ago
parent
commit
740152ee70

+ 2
- 1
Marlin/example_configurations/Felix/Configuration.h View File

@@ -1,4 +1,4 @@
1
-#ifndef CONFIGURATION_H
1
+#ifndef CONFIGURATION_H
2 2
 #define CONFIGURATION_H
3 3
 
4 4
 #include "boards.h"
@@ -305,6 +305,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
305 305
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
306 306
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
307 307
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
308
+const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
308 309
 #define DISABLE_MAX_ENDSTOPS
309 310
 //#define DISABLE_MIN_ENDSTOPS
310 311
 

+ 2
- 1
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

@@ -1,4 +1,4 @@
1
-#ifndef CONFIGURATION_H
1
+#ifndef CONFIGURATION_H
2 2
 #define CONFIGURATION_H
3 3
 
4 4
 #include "boards.h"
@@ -305,6 +305,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
305 305
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
306 306
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
307 307
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
308
+const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
308 309
 #define DISABLE_MAX_ENDSTOPS
309 310
 //#define DISABLE_MIN_ENDSTOPS
310 311
 

+ 1
- 0
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -328,6 +328,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
328 328
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329 329
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330 330
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
331
+const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
331 332
 //#define DISABLE_MAX_ENDSTOPS
332 333
 //#define DISABLE_MIN_ENDSTOPS
333 334
 

+ 1
- 0
Marlin/example_configurations/K8200/Configuration.h View File

@@ -333,6 +333,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
333 333
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
334 334
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
335 335
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
336
+const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
336 337
 #define DISABLE_MAX_ENDSTOPS
337 338
 //#define DISABLE_MIN_ENDSTOPS
338 339
 

+ 1
- 0
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -357,6 +357,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
357 357
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
358 358
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
359 359
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
360
+const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
360 361
 //#define DISABLE_MAX_ENDSTOPS
361 362
 //#define DISABLE_MIN_ENDSTOPS
362 363
 

+ 1
- 0
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -327,6 +327,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
327 327
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328 328
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329 329
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
+const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330 331
 //#define DISABLE_MAX_ENDSTOPS
331 332
 //#define DISABLE_MIN_ENDSTOPS
332 333
 

+ 2
- 1
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -1,4 +1,4 @@
1
-#ifndef CONFIGURATION_H
1
+#ifndef CONFIGURATION_H
2 2
 #define CONFIGURATION_H
3 3
 
4 4
 #include "boards.h"
@@ -355,6 +355,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
355 355
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
356 356
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
357 357
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
358
+const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
358 359
 //#define DISABLE_MAX_ENDSTOPS
359 360
 #define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
360 361
 

+ 2
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -1,4 +1,4 @@
1
-#ifndef CONFIGURATION_H
1
+#ifndef CONFIGURATION_H
2 2
 #define CONFIGURATION_H
3 3
 
4 4
 #include "boards.h"
@@ -355,6 +355,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
355 355
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
356 356
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
357 357
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
358
+const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
358 359
 //#define DISABLE_MAX_ENDSTOPS
359 360
 //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
360 361
 

+ 1
- 0
Marlin/example_configurations/makibox/Configuration.h View File

@@ -325,6 +325,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
325 325
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
326 326
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
327 327
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
+const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
328 329
 //#define DISABLE_MAX_ENDSTOPS
329 330
 //#define DISABLE_MIN_ENDSTOPS
330 331
 

+ 1
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -327,6 +327,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of
327 327
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328 328
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329 329
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
+const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330 331
 //#define DISABLE_MAX_ENDSTOPS
331 332
 //#define DISABLE_MIN_ENDSTOPS
332 333
 

+ 7
- 4
Marlin/ultralcd.cpp View File

@@ -251,9 +251,10 @@ float raw_Ki, raw_Kd;
251 251
 static void lcd_goto_menu(menuFunc_t menu, const uint32_t encoder=0, const bool feedback=true) {
252 252
   if (currentMenu != menu) {
253 253
     currentMenu = menu;
254
-    encoderPosition = encoder;
255
-    if (feedback) lcd_quick_feedback();
256
-
254
+    #if defined(NEWPANEL)
255
+      encoderPosition = encoder;
256
+      if (feedback) lcd_quick_feedback();
257
+    #endif
257 258
     // For LCD_PROGRESS_BAR re-initialize the custom characters
258 259
     #ifdef LCD_PROGRESS_BAR
259 260
       lcd_set_custom_characters(menu == lcd_status_screen);
@@ -1258,7 +1259,9 @@ int lcd_strlen_P(const char *s) {
1258 1259
 }
1259 1260
 
1260 1261
 void lcd_update() {
1261
-  static unsigned long timeoutToStatus = 0;
1262
+  #ifdef ULTIPANEL
1263
+    static unsigned long timeoutToStatus = 0;
1264
+  #endif
1262 1265
 
1263 1266
   #ifdef LCD_HAS_SLOW_BUTTONS
1264 1267
     slow_buttons = lcd_implementation_read_slow_buttons(); // buttons which take too long to read in interrupt context

Loading…
Cancel
Save