Quellcode durchsuchen

Merge branch 'Development' into cold_extrude

Latest upstream commits
Scott Lahteine vor 10 Jahren
Ursprung
Commit
740152ee70

+ 2
- 1
Marlin/example_configurations/Felix/Configuration.h Datei anzeigen

1
-#ifndef CONFIGURATION_H
1
+#ifndef CONFIGURATION_H
2
 #define CONFIGURATION_H
2
 #define CONFIGURATION_H
3
 
3
 
4
 #include "boards.h"
4
 #include "boards.h"
305
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
305
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
306
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
306
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
307
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 #define DISABLE_MAX_ENDSTOPS
309
 #define DISABLE_MAX_ENDSTOPS
309
 //#define DISABLE_MIN_ENDSTOPS
310
 //#define DISABLE_MIN_ENDSTOPS
310
 
311
 

+ 2
- 1
Marlin/example_configurations/Felix/Configuration_DUAL.h Datei anzeigen

1
-#ifndef CONFIGURATION_H
1
+#ifndef CONFIGURATION_H
2
 #define CONFIGURATION_H
2
 #define CONFIGURATION_H
3
 
3
 
4
 #include "boards.h"
4
 #include "boards.h"
305
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
305
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
306
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
306
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
307
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 #define DISABLE_MAX_ENDSTOPS
309
 #define DISABLE_MAX_ENDSTOPS
309
 //#define DISABLE_MIN_ENDSTOPS
310
 //#define DISABLE_MIN_ENDSTOPS
310
 
311
 

+ 1
- 0
Marlin/example_configurations/Hephestos/Configuration.h Datei anzeigen

328
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
330
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
332
 //#define DISABLE_MAX_ENDSTOPS
332
 //#define DISABLE_MIN_ENDSTOPS
333
 //#define DISABLE_MIN_ENDSTOPS
333
 
334
 

+ 1
- 0
Marlin/example_configurations/K8200/Configuration.h Datei anzeigen

333
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
333
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
334
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
334
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
335
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 #define DISABLE_MAX_ENDSTOPS
337
 #define DISABLE_MAX_ENDSTOPS
337
 //#define DISABLE_MIN_ENDSTOPS
338
 //#define DISABLE_MIN_ENDSTOPS
338
 
339
 

+ 1
- 0
Marlin/example_configurations/SCARA/Configuration.h Datei anzeigen

357
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
357
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
358
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
358
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
359
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
361
 //#define DISABLE_MAX_ENDSTOPS
361
 //#define DISABLE_MIN_ENDSTOPS
362
 //#define DISABLE_MIN_ENDSTOPS
362
 
363
 

+ 1
- 0
Marlin/example_configurations/WITBOX/Configuration.h Datei anzeigen

327
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
327
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
331
 //#define DISABLE_MAX_ENDSTOPS
331
 //#define DISABLE_MIN_ENDSTOPS
332
 //#define DISABLE_MIN_ENDSTOPS
332
 
333
 

+ 2
- 1
Marlin/example_configurations/delta/generic/Configuration.h Datei anzeigen

1
-#ifndef CONFIGURATION_H
1
+#ifndef CONFIGURATION_H
2
 #define CONFIGURATION_H
2
 #define CONFIGURATION_H
3
 
3
 
4
 #include "boards.h"
4
 #include "boards.h"
355
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
355
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
356
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
356
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
357
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
359
 //#define DISABLE_MAX_ENDSTOPS
359
 #define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
360
 #define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
360
 
361
 

+ 2
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration.h Datei anzeigen

1
-#ifndef CONFIGURATION_H
1
+#ifndef CONFIGURATION_H
2
 #define CONFIGURATION_H
2
 #define CONFIGURATION_H
3
 
3
 
4
 #include "boards.h"
4
 #include "boards.h"
355
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
355
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
356
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
356
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
357
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
359
 //#define DISABLE_MAX_ENDSTOPS
359
 //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
360
 //#define DISABLE_MIN_ENDSTOPS // Deltas only use min endstops for probing
360
 
361
 

+ 1
- 0
Marlin/example_configurations/makibox/Configuration.h Datei anzeigen

325
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
325
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
326
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
326
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
327
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
329
 //#define DISABLE_MAX_ENDSTOPS
329
 //#define DISABLE_MIN_ENDSTOPS
330
 //#define DISABLE_MIN_ENDSTOPS
330
 
331
 

+ 1
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h Datei anzeigen

327
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
327
 const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
328
 const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
329
 const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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
 //#define DISABLE_MAX_ENDSTOPS
331
 //#define DISABLE_MAX_ENDSTOPS
331
 //#define DISABLE_MIN_ENDSTOPS
332
 //#define DISABLE_MIN_ENDSTOPS
332
 
333
 

+ 7
- 4
Marlin/ultralcd.cpp Datei anzeigen

251
 static void lcd_goto_menu(menuFunc_t menu, const uint32_t encoder=0, const bool feedback=true) {
251
 static void lcd_goto_menu(menuFunc_t menu, const uint32_t encoder=0, const bool feedback=true) {
252
   if (currentMenu != menu) {
252
   if (currentMenu != menu) {
253
     currentMenu = menu;
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
     // For LCD_PROGRESS_BAR re-initialize the custom characters
258
     // For LCD_PROGRESS_BAR re-initialize the custom characters
258
     #ifdef LCD_PROGRESS_BAR
259
     #ifdef LCD_PROGRESS_BAR
259
       lcd_set_custom_characters(menu == lcd_status_screen);
260
       lcd_set_custom_characters(menu == lcd_status_screen);
1258
 }
1259
 }
1259
 
1260
 
1260
 void lcd_update() {
1261
 void lcd_update() {
1261
-  static unsigned long timeoutToStatus = 0;
1262
+  #ifdef ULTIPANEL
1263
+    static unsigned long timeoutToStatus = 0;
1264
+  #endif
1262
 
1265
 
1263
   #ifdef LCD_HAS_SLOW_BUTTONS
1266
   #ifdef LCD_HAS_SLOW_BUTTONS
1264
     slow_buttons = lcd_implementation_read_slow_buttons(); // buttons which take too long to read in interrupt context
1267
     slow_buttons = lcd_implementation_read_slow_buttons(); // buttons which take too long to read in interrupt context

Laden…
Abbrechen
Speichern