Reprint option for last SD Memory card file (#8106)

* Re-Print of same SD Memory Card file with single click

* Re-Print of same SD Memory Card file with single click
* This is the bugfix-v2.0.0 version of  https://github.com/MarlinFirmware/Marlin/pull/8104
This commit is contained in:
Roxy-3D
2017-10-26 15:50:18 -05:00
committed by GitHub
parent 9e699811d2
commit 3f5f39576b
36 changed files with 503 additions and 109 deletions

View File

@ -328,14 +328,11 @@ void Max7219_idle_tasks() {
#endif
#if ENABLED(MAX7219_DEBUG_PRINTER_ALIVE)
static int debug_cnt = 0;
#ifdef CPU_32_BIT
if (debug_cnt++ > 1000) {
#else
if (debug_cnt++ > 100) {
#endif
static millis_t next_blink = 0;
if (ELAPSED(millis(), next_blink)) {
Max7219_LED_Toggle(7, 7);
debug_cnt = 0;
next_blink = millis() + 750;
}
#endif