mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-29 13:19:53 +00:00
Hide pause/stop unless active printing
This commit is contained in:
parent
ae42206500
commit
1e59a2ac73
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ void menu_main() {
|
|||
START_MENU();
|
||||
MENU_BACK(MSG_WATCH);
|
||||
|
||||
const bool busy = printer_busy()
|
||||
const bool busy = IS_SD_PRINTING() || print_job_timer.isRunning()
|
||||
#if ENABLED(SDSUPPORT)
|
||||
, card_detected = card.isDetected()
|
||||
, card_open = card_detected && card.isFileOpen()
|
||||
|
|
Loading…
Reference in a new issue