🩹 Fix ExtUI build with Host Keepalive disabled (#23898)

This commit is contained in:
Julien Staub
2022-03-13 23:09:32 +01:00
committed by Scott Lahteine
parent 8d20c5aadf
commit 62f298aca3
2 changed files with 8 additions and 4 deletions

View File

@@ -83,8 +83,10 @@ namespace ExtUI {
void injectCommands(char * const);
bool commandsInQueue();
GcodeSuite::MarlinBusyState getHostKeepaliveState();
bool getHostKeepaliveIsPaused();
#if ENABLED(HOST_KEEPALIVE_FEATURE)
GcodeSuite::MarlinBusyState getHostKeepaliveState();
bool getHostKeepaliveIsPaused();
#endif
bool isHeaterIdle(const heater_t);
bool isHeaterIdle(const extruder_t);