Commit last SD line before fileHasFinished

This commit is contained in:
Scott Lahteine
2020-02-22 20:45:59 -06:00
parent 1d431fe8d2
commit 29ec868c4b
3 changed files with 20 additions and 24 deletions

View File

@ -1063,7 +1063,7 @@ uint16_t CardReader::get_num_Files() {
//
// Return from procedure or close out the Print Job
//
void CardReader::printingHasFinished() {
void CardReader::fileHasFinished() {
planner.synchronize();
file.close();
if (file_subcall_ctr > 0) { // Resume calling file after closing procedure