🎨 Misc. cleanup, comments
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user