Wait before turning off PRINTER_EVENT_LEDS at print end (#10248)

This commit is contained in:
Scott Lahteine
2018-03-28 22:59:28 -05:00
committed by GitHub
parent 568ae094f4
commit 9e4c037cef
3 changed files with 27 additions and 4 deletions

View File

@ -324,6 +324,10 @@ public:
#define KEEPALIVE_STATE(n) NOOP
#endif
#if ENABLED(PRINTER_EVENT_LEDS) && ENABLED(SDSUPPORT) && HAS_RESUME_CONTINUE
static bool lights_off_after_print;
#endif
static void dwell(millis_t time);
private: