Refactor PRINTER_EVENT_LEDS, apply to M303 (#12038)

Co-Authored-By: Giuliano Zaro <gmagician@users.noreply.github.com>
This commit is contained in:
Giuliano ZaroandGiuliano Zaro authored and Scott Lahteine committed 2018-10-10 21:25:43 -05:00
1 parent d8d76cd2ba
commit d43d4e4219
13 files changed
+205 -73

No files matched your search

-4
View File
@@ -336,10 +336,6 @@ 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: