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)
```
2.0.x
AnHardt 9 years ago
parent 1c889cd303
commit 615bec2329

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

@ -357,7 +357,7 @@ static void lcd_implementation_status_screen() {
if (!axis_homed[X_AXIS]) if (!axis_homed[X_AXIS])
lcd_printPGM(PSTR("?")); lcd_printPGM(PSTR("?"));
else else
#if ENABLED(WARN_REDUCED_ACCURACY) #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
if (!axis_known_position[X_AXIS]) if (!axis_known_position[X_AXIS])
lcd_printPGM(PSTR(" ")); lcd_printPGM(PSTR(" "));
else else
@ -376,7 +376,7 @@ static void lcd_implementation_status_screen() {
if (!axis_homed[Y_AXIS]) if (!axis_homed[Y_AXIS])
lcd_printPGM(PSTR("?")); lcd_printPGM(PSTR("?"));
else else
#if ENABLED(WARN_REDUCED_ACCURACY) #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
if (!axis_known_position[Y_AXIS]) if (!axis_known_position[Y_AXIS])
lcd_printPGM(PSTR(" ")); lcd_printPGM(PSTR(" "));
else else
@ -395,7 +395,7 @@ static void lcd_implementation_status_screen() {
if (!axis_homed[Z_AXIS]) if (!axis_homed[Z_AXIS])
lcd_printPGM(PSTR("?")); lcd_printPGM(PSTR("?"));
else else
#if ENABLED(WARN_REDUCED_ACCURACY) #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
if (!axis_known_position[Z_AXIS]) if (!axis_known_position[Z_AXIS])
lcd_printPGM(PSTR(" ")); lcd_printPGM(PSTR(" "));
else else

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -625,7 +625,7 @@ static void lcd_implementation_status_screen() {
if (!axis_homed[X_AXIS]) if (!axis_homed[X_AXIS])
lcd_printPGM(PSTR("?")); lcd_printPGM(PSTR("?"));
else else
#if ENABLED(WARN_REDUCED_ACCURACY) #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
if (!axis_known_position[X_AXIS]) if (!axis_known_position[X_AXIS])
lcd_printPGM(PSTR(" ")); lcd_printPGM(PSTR(" "));
else else
@ -642,7 +642,7 @@ static void lcd_implementation_status_screen() {
if (!axis_homed[Y_AXIS]) if (!axis_homed[Y_AXIS])
lcd_printPGM(PSTR("?")); lcd_printPGM(PSTR("?"));
else else
#if ENABLED(WARN_REDUCED_ACCURACY) #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
if (!axis_known_position[Y_AXIS]) if (!axis_known_position[Y_AXIS])
lcd_printPGM(PSTR(" ")); lcd_printPGM(PSTR(" "));
else else
@ -662,7 +662,7 @@ static void lcd_implementation_status_screen() {
if (!axis_homed[Z_AXIS]) if (!axis_homed[Z_AXIS])
lcd_printPGM(PSTR("?")); lcd_printPGM(PSTR("?"));
else else
#if ENABLED(WARN_REDUCED_ACCURACY) #if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
if (!axis_known_position[Z_AXIS]) if (!axis_known_position[Z_AXIS])
lcd_printPGM(PSTR(" ")); lcd_printPGM(PSTR(" "));
else else

Loading…
Cancel
Save