Add HOST_PROMPT_SUPPORT (#13039)

This commit is contained in:
InsanityAutomation authored and Scott Lahteine committed 2019-02-12 15:55:47 -06:00
1 parent 0feeef2604
commit 7f1b69b0c8
189 files changed
+2076 -3479

No files matched your search

+4 -1
View File
@@ -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