mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-26 21:36:21 +00:00
🩹 Fix ExtUI build with Host Keepalive disabled (#23898)
This commit is contained in:
parent
8d20c5aadf
commit
62f298aca3
@ -389,8 +389,10 @@ namespace ExtUI {
|
|||||||
return !thermalManager.tooColdToExtrude(extruder - E0);
|
return !thermalManager.tooColdToExtrude(extruder - E0);
|
||||||
}
|
}
|
||||||
|
|
||||||
GcodeSuite::MarlinBusyState getHostKeepaliveState() { return TERN0(HOST_KEEPALIVE_FEATURE, gcode.busy_state); }
|
#if ENABLED(HOST_KEEPALIVE_FEATURE)
|
||||||
bool getHostKeepaliveIsPaused() { return TERN0(HOST_KEEPALIVE_FEATURE, gcode.host_keepalive_is_paused()); }
|
GcodeSuite::MarlinBusyState getHostKeepaliveState() { return gcode.busy_state; }
|
||||||
|
bool getHostKeepaliveIsPaused() { return gcode.host_keepalive_is_paused(); }
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HAS_SOFTWARE_ENDSTOPS
|
#if HAS_SOFTWARE_ENDSTOPS
|
||||||
bool getSoftEndstopState() { return soft_endstop._enabled; }
|
bool getSoftEndstopState() { return soft_endstop._enabled; }
|
||||||
|
@ -83,8 +83,10 @@ namespace ExtUI {
|
|||||||
void injectCommands(char * const);
|
void injectCommands(char * const);
|
||||||
bool commandsInQueue();
|
bool commandsInQueue();
|
||||||
|
|
||||||
|
#if ENABLED(HOST_KEEPALIVE_FEATURE)
|
||||||
GcodeSuite::MarlinBusyState getHostKeepaliveState();
|
GcodeSuite::MarlinBusyState getHostKeepaliveState();
|
||||||
bool getHostKeepaliveIsPaused();
|
bool getHostKeepaliveIsPaused();
|
||||||
|
#endif
|
||||||
|
|
||||||
bool isHeaterIdle(const heater_t);
|
bool isHeaterIdle(const heater_t);
|
||||||
bool isHeaterIdle(const extruder_t);
|
bool isHeaterIdle(const extruder_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user