Commit de87f53 1 parent a9c30cb commit de87f53 Copy full SHA for de87f53
File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -389,8 +389,10 @@ namespace ExtUI {
389
389
return !thermalManager.tooColdToExtrude (extruder - E0 );
390
390
}
391
391
392
- GcodeSuite::MarlinBusyState getHostKeepaliveState () { return TERN0 (HOST_KEEPALIVE_FEATURE, gcode.busy_state ); }
393
- bool getHostKeepaliveIsPaused () { return TERN0 (HOST_KEEPALIVE_FEATURE, gcode.host_keepalive_is_paused ()); }
392
+ #if ENABLED(HOST_KEEPALIVE_FEATURE)
393
+ GcodeSuite::MarlinBusyState getHostKeepaliveState () { return gcode.busy_state ; }
394
+ bool getHostKeepaliveIsPaused () { return gcode.host_keepalive_is_paused (); }
395
+ #endif
394
396
395
397
#if HAS_SOFTWARE_ENDSTOPS
396
398
bool getSoftEndstopState () { return soft_endstop._enabled ; }
Original file line number Diff line number Diff line change @@ -83,8 +83,10 @@ namespace ExtUI {
83
83
void injectCommands (char * const );
84
84
bool commandsInQueue ();
85
85
86
- GcodeSuite::MarlinBusyState getHostKeepaliveState ();
87
- bool getHostKeepaliveIsPaused ();
86
+ #if ENABLED(HOST_KEEPALIVE_FEATURE)
87
+ GcodeSuite::MarlinBusyState getHostKeepaliveState ();
88
+ bool getHostKeepaliveIsPaused ();
89
+ #endif
88
90
89
91
bool isHeaterIdle (const heater_t );
90
92
bool isHeaterIdle (const extruder_t );
You can’t perform that action at this time.
0 commit comments