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)
```
This commit is contained in:
AnHardt 2015-11-04 14:19:33 +01:00
parent 1c889cd303
commit 615bec2329
19 changed files with 26 additions and 26 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -624,8 +624,8 @@ static void lcd_implementation_status_screen() {
else { else {
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
@ -641,8 +641,8 @@ static void lcd_implementation_status_screen() {
else { else {
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
@ -661,8 +661,8 @@ static void lcd_implementation_status_screen() {
else { else {
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