Hide pause/stop unless active printing

2.0.x
Scott Lahteine 6 years ago
parent ae42206500
commit 1e59a2ac73

@ -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()

Loading…
Cancel
Save