Hide pause/stop unless active printing

This commit is contained in:
Scott Lahteine 2019-04-10 19:46:59 -05:00
parent ae42206500
commit 1e59a2ac73

View file

@ -146,7 +146,7 @@ void menu_main() {
START_MENU(); START_MENU();
MENU_BACK(MSG_WATCH); MENU_BACK(MSG_WATCH);
const bool busy = printer_busy() const bool busy = IS_SD_PRINTING() || print_job_timer.isRunning()
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT)
, card_detected = card.isDetected() , card_detected = card.isDetected()
, card_open = card_detected && card.isFileOpen() , card_open = card_detected && card.isFileOpen()