Browse Source

Activate warning about possible reduced accuracy by default

Renamed `WARN_REDUCED_ACCURACY` to `DISABLE_REDUCED_ACCURACY_WARNING`

Changed the condition for blinking from
```
#if ENABLED(WARN_REDUCED_ACCURACY)
```
to
```
#if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
```
AnHardt 9 years ago
parent
commit
615bec2329

+ 1
- 1
Marlin/Configuration.h View File

@@ -355,7 +355,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
355 355
 #define DISABLE_Y false
356 356
 #define DISABLE_Z false
357 357
 // Warn on display about possibly reduced accuracy
358
-//#define WARN_REDUCED_ACCURACY
358
+//#define DISABLE_REDUCED_ACCURACY_WARNING
359 359
 
360 360
 // @section extruder
361 361
 

+ 3
- 3
Marlin/dogm_lcd_implementation.h View File

@@ -357,7 +357,7 @@ static void lcd_implementation_status_screen() {
357 357
     if (!axis_homed[X_AXIS])
358 358
       lcd_printPGM(PSTR("?"));
359 359
     else
360
-      #if ENABLED(WARN_REDUCED_ACCURACY)
360
+      #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
361 361
         if (!axis_known_position[X_AXIS])
362 362
           lcd_printPGM(PSTR(" "));
363 363
         else
@@ -376,7 +376,7 @@ static void lcd_implementation_status_screen() {
376 376
     if (!axis_homed[Y_AXIS])
377 377
       lcd_printPGM(PSTR("?"));
378 378
     else
379
-      #if ENABLED(WARN_REDUCED_ACCURACY)
379
+      #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
380 380
         if (!axis_known_position[Y_AXIS])
381 381
           lcd_printPGM(PSTR(" "));
382 382
         else
@@ -395,7 +395,7 @@ static void lcd_implementation_status_screen() {
395 395
     if (!axis_homed[Z_AXIS])
396 396
       lcd_printPGM(PSTR("?"));
397 397
     else
398
-      #if ENABLED(WARN_REDUCED_ACCURACY)
398
+      #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
399 399
         if (!axis_known_position[Z_AXIS])
400 400
           lcd_printPGM(PSTR(" "));
401 401
         else

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

@@ -337,7 +337,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
337 337
 #define DISABLE_Y false
338 338
 #define DISABLE_Z false
339 339
 // Warn on display about possibly reduced accuracy
340
-//#define WARN_REDUCED_ACCURACY
340
+//#define DISABLE_REDUCED_ACCURACY_WARNING
341 341
 
342 342
 // @section extruder
343 343
 

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

@@ -321,7 +321,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
321 321
 #define DISABLE_Y false
322 322
 #define DISABLE_Z false
323 323
 // Warn on display about possibly reduced accuracy
324
-//#define WARN_REDUCED_ACCURACY
324
+//#define DISABLE_REDUCED_ACCURACY_WARNING
325 325
 #define DISABLE_E false // For all extruders
326 326
 #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled
327 327
 

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

@@ -347,7 +347,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
347 347
 #define DISABLE_Y false
348 348
 #define DISABLE_Z false
349 349
 // Warn on display about possibly reduced accuracy
350
-//#define WARN_REDUCED_ACCURACY
350
+//#define DISABLE_REDUCED_ACCURACY_WARNING
351 351
 
352 352
 // @section extruder
353 353
 

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

@@ -370,7 +370,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
370 370
 #define DISABLE_Y false
371 371
 #define DISABLE_Z false // not for K8200 -> looses Steps
372 372
 // Warn on display about possibly reduced accuracy
373
-//#define WARN_REDUCED_ACCURACY
373
+//#define DISABLE_REDUCED_ACCURACY_WARNING
374 374
 
375 375
 // @section extruder
376 376
 

+ 1
- 1
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -355,7 +355,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
355 355
 #define DISABLE_Y false
356 356
 #define DISABLE_Z false
357 357
 // Warn on display about possibly reduced accuracy
358
-//#define WARN_REDUCED_ACCURACY
358
+//#define DISABLE_REDUCED_ACCURACY_WARNING
359 359
 
360 360
 // @section extruder
361 361
 

+ 1
- 1
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -346,7 +346,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
346 346
 #define DISABLE_Y false
347 347
 #define DISABLE_Z false
348 348
 // Warn on display about possibly reduced accuracy
349
-//#define WARN_REDUCED_ACCURACY
349
+//#define DISABLE_REDUCED_ACCURACY_WARNING
350 350
 
351 351
 // @section extruder
352 352
 

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

@@ -363,7 +363,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
363 363
 #define DISABLE_Y false
364 364
 #define DISABLE_Z false
365 365
 // Warn on display about possibly reduced accuracy
366
-//#define WARN_REDUCED_ACCURACY
366
+//#define DISABLE_REDUCED_ACCURACY_WARNING
367 367
 
368 368
 // @section extruder
369 369
 

+ 1
- 1
Marlin/example_configurations/TAZ4/Configuration.h View File

@@ -375,7 +375,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
375 375
 #define DISABLE_Y false
376 376
 #define DISABLE_Z false
377 377
 // Warn on display about possibly reduced accuracy
378
-//#define WARN_REDUCED_ACCURACY
378
+//#define DISABLE_REDUCED_ACCURACY_WARNING
379 379
 
380 380
 // @section extruder
381 381
 

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

@@ -347,7 +347,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
347 347
 #define DISABLE_Y false
348 348
 #define DISABLE_Z true
349 349
 // Warn on display about possibly reduced accuracy
350
-//#define WARN_REDUCED_ACCURACY
350
+//#define DISABLE_REDUCED_ACCURACY_WARNING
351 351
 
352 352
 // @section extruder
353 353
 

+ 1
- 1
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

@@ -355,7 +355,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
355 355
 #define DISABLE_Y false
356 356
 #define DISABLE_Z false
357 357
 // Warn on display about possibly reduced accuracy
358
-//#define WARN_REDUCED_ACCURACY
358
+//#define DISABLE_REDUCED_ACCURACY_WARNING
359 359
 
360 360
 // @section extruder
361 361
 

+ 1
- 1
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

@@ -390,7 +390,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
390 390
 #define DISABLE_Y false
391 391
 #define DISABLE_Z false
392 392
 // Warn on display about possibly reduced accuracy
393
-//#define WARN_REDUCED_ACCURACY
393
+//#define DISABLE_REDUCED_ACCURACY_WARNING
394 394
 
395 395
 // @section extruder
396 396
 

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

@@ -390,7 +390,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
390 390
 #define DISABLE_Y false
391 391
 #define DISABLE_Z false
392 392
 // Warn on display about possibly reduced accuracy
393
-//#define WARN_REDUCED_ACCURACY
393
+//#define DISABLE_REDUCED_ACCURACY_WARNING
394 394
 
395 395
 // @section extruder
396 396
 

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

@@ -390,7 +390,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
390 390
 #define DISABLE_Y false
391 391
 #define DISABLE_Z false
392 392
 // Warn on display about possibly reduced accuracy
393
-//#define WARN_REDUCED_ACCURACY
393
+//#define DISABLE_REDUCED_ACCURACY_WARNING
394 394
 
395 395
 // @section extruder
396 396
 

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

@@ -377,7 +377,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
377 377
 #define DISABLE_Y false
378 378
 #define DISABLE_Z false
379 379
 // Warn on display about possibly reduced accuracy
380
-//#define WARN_REDUCED_ACCURACY
380
+//#define DISABLE_REDUCED_ACCURACY_WARNING
381 381
 
382 382
 // @section extruder
383 383
 

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

@@ -358,7 +358,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
358 358
 #define DISABLE_Y false
359 359
 #define DISABLE_Z false
360 360
 // Warn on display about possibly reduced accuracy
361
-//#define WARN_REDUCED_ACCURACY
361
+//#define DISABLE_REDUCED_ACCURACY_WARNING
362 362
 
363 363
 // @section extruder
364 364
 

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

@@ -345,7 +345,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
345 345
 #define DISABLE_Y false
346 346
 #define DISABLE_Z false
347 347
 // Warn on display about possibly reduced accuracy
348
-//#define WARN_REDUCED_ACCURACY
348
+//#define DISABLE_REDUCED_ACCURACY_WARNING
349 349
 
350 350
 // @section extruder
351 351
 

+ 6
- 6
Marlin/ultralcd_implementation_hitachi_HD44780.h View File

@@ -624,8 +624,8 @@ static void lcd_implementation_status_screen() {
624 624
         else {
625 625
           if (!axis_homed[X_AXIS])
626 626
             lcd_printPGM(PSTR("?"));
627
-          else
628
-            #if ENABLED(WARN_REDUCED_ACCURACY)
627
+          else 
628
+            #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
629 629
               if (!axis_known_position[X_AXIS])
630 630
                 lcd_printPGM(PSTR(" "));
631 631
               else
@@ -641,8 +641,8 @@ static void lcd_implementation_status_screen() {
641 641
         else {
642 642
           if (!axis_homed[Y_AXIS])
643 643
             lcd_printPGM(PSTR("?"));
644
-          else
645
-            #if ENABLED(WARN_REDUCED_ACCURACY)
644
+          else 
645
+            #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
646 646
               if (!axis_known_position[Y_AXIS])
647 647
                 lcd_printPGM(PSTR(" "));
648 648
               else
@@ -661,8 +661,8 @@ static void lcd_implementation_status_screen() {
661 661
     else {
662 662
       if (!axis_homed[Z_AXIS])
663 663
         lcd_printPGM(PSTR("?"));
664
-      else
665
-        #if ENABLED(WARN_REDUCED_ACCURACY)
664
+      else 
665
+        #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
666 666
           if (!axis_known_position[Z_AXIS])
667 667
             lcd_printPGM(PSTR(" "));
668 668
           else

Loading…
Cancel
Save