🎨 Format, use status macros
This commit is contained in:
committed by
Scott Lahteine
parent
5632ad65f5
commit
9324132a40
@ -29,9 +29,8 @@
|
||||
#include "stepper.h"
|
||||
#include "planner.h"
|
||||
#include "temperature.h"
|
||||
|
||||
#include "../gcode/gcode.h"
|
||||
|
||||
#include "../lcd/marlinui.h"
|
||||
#include "../inc/MarlinConfig.h"
|
||||
|
||||
#if IS_SCARA
|
||||
@ -51,10 +50,6 @@
|
||||
#include "../feature/bltouch.h"
|
||||
#endif
|
||||
|
||||
#if HAS_STATUS_MESSAGE
|
||||
#include "../lcd/marlinui.h"
|
||||
#endif
|
||||
|
||||
#if HAS_FILAMENT_SENSOR
|
||||
#include "../feature/runout.h"
|
||||
#endif
|
||||
@ -1325,7 +1320,7 @@ void prepare_line_to_destination() {
|
||||
);
|
||||
SERIAL_ECHO_START();
|
||||
SERIAL_ECHOLN(msg);
|
||||
TERN_(HAS_STATUS_MESSAGE, ui.set_status(msg));
|
||||
ui.set_status(msg);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user