mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
[1.1.x] Auto-enable DISABLE_REDUCED_ACCURACY_WARNING if HOME_AFTER_DEACTIVATE enabled (#7878)
* Auto-enable DISABLE_REDUCED_ACCURACY_WARNING if HOME_AFTER_DEACTIVATE enabled If HOME_AFTER_DEACTIVATE, there is no need to warn on LCD since printer will home prior to starting print. Saves 60 bytes PROGMEM. add HD44780 too * Reduce lines used * Reduce lines used
This commit is contained in:
parent
e2ceb1b800
commit
97e6663bb3
@ -420,7 +420,7 @@ FORCE_INLINE void _draw_axis_label(const AxisEnum axis, const char* const pstr,
|
|||||||
if (!axis_homed[axis])
|
if (!axis_homed[axis])
|
||||||
u8g.print('?');
|
u8g.print('?');
|
||||||
else {
|
else {
|
||||||
#if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
|
#if DISABLED(HOME_AFTER_DEACTIVATE) && DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
|
||||||
if (!axis_known_position[axis])
|
if (!axis_known_position[axis])
|
||||||
u8g.print(' ');
|
u8g.print(' ');
|
||||||
else
|
else
|
||||||
|
@ -597,7 +597,7 @@ FORCE_INLINE void _draw_axis_label(const AxisEnum axis, const char* const pstr,
|
|||||||
if (!axis_homed[axis])
|
if (!axis_homed[axis])
|
||||||
lcd.write('?');
|
lcd.write('?');
|
||||||
else {
|
else {
|
||||||
#if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
|
#if DISABLED(HOME_AFTER_DEACTIVATE) && DISABLED(DISABLE_REDUCED_ACCURACY_WARNING)
|
||||||
if (!axis_known_position[axis])
|
if (!axis_known_position[axis])
|
||||||
lcd.write(' ');
|
lcd.write(' ');
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user