mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-25 07:33:56 -06:00
Add HOST_PROMPT_SUPPORT (#13039)
This commit is contained in:
parent
0feeef2604
commit
7f1b69b0c8
189 changed files with 2076 additions and 3479 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "../ultralcd.h"
|
||||
#include "../../module/planner.h"
|
||||
#include "../../module/motion.h"
|
||||
#include "../../module/printcounter.h"
|
||||
#include "../../gcode/queue.h"
|
||||
#include "../../sd/cardreader.h"
|
||||
#include "../../libs/buzzer.h"
|
||||
|
@ -189,7 +190,9 @@ void MenuItem_bool::action_edit(PGM_P pstr, bool *ptr, screenFunc_t callback) {
|
|||
void _lcd_set_z_fade_height() { set_z_fade_height(lcd_z_fade_height); }
|
||||
#endif
|
||||
|
||||
bool printer_busy() { return planner.movesplanned() || IS_SD_PRINTING(); }
|
||||
bool printer_busy() {
|
||||
return planner.movesplanned() || IS_SD_PRINTING() || print_job_timer.isRunning();
|
||||
}
|
||||
|
||||
/**
|
||||
* General function to go directly to a screen
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue