🎨 Misc. cleanup, comments
This commit is contained in:
committed by
Scott Lahteine
parent
2690bb1bc2
commit
d7b7b570c7
@ -194,11 +194,11 @@ void EasythreedUI::printButton() {
|
||||
print_key_flag = PF_START;
|
||||
return; // Bail out
|
||||
}
|
||||
card.ls(); // List all files to serial output
|
||||
const uint16_t filecnt = card.countFilesInWorkDir(); // Count printable files in cwd
|
||||
if (filecnt == 0) return; // None are printable?
|
||||
card.selectFileByIndex(filecnt); // Select the last file according to current sort options
|
||||
card.openAndPrintFile(card.filename); // Start printing it
|
||||
card.ls(); // List all files to serial output
|
||||
const uint16_t filecnt = card.countFilesInWorkDir(); // Count printable files in cwd
|
||||
if (filecnt == 0) return; // None are printable?
|
||||
card.selectFileByIndex(filecnt); // Select the last file according to current sort options
|
||||
card.openAndPrintFile(card.filename); // Start printing it
|
||||
break;
|
||||
}
|
||||
case PF_PAUSE: { // Pause printing (not currently firing)
|
||||
|
@ -36,7 +36,7 @@ class Power {
|
||||
static void init();
|
||||
static void power_on();
|
||||
static void power_off();
|
||||
|
||||
|
||||
#if EITHER(POWER_OFF_TIMER, POWER_OFF_WAIT_FOR_COOLDOWN)
|
||||
#if ENABLED(POWER_OFF_TIMER)
|
||||
static millis_t power_off_time;
|
||||
|
Reference in New Issue
Block a user