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