|
|
@ -325,13 +325,13 @@ void CardReader::openFile(char* name, bool read, bool push_current/*=false*/) {
|
|
|
|
SERIAL_ECHOLN(sdpos);
|
|
|
|
SERIAL_ECHOLN(sdpos);
|
|
|
|
filespos[file_subcall_ctr] = sdpos;
|
|
|
|
filespos[file_subcall_ctr] = sdpos;
|
|
|
|
file_subcall_ctr++;
|
|
|
|
file_subcall_ctr++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
SERIAL_ECHO_START;
|
|
|
|
SERIAL_ECHO_START;
|
|
|
|
SERIAL_ECHOPGM("Now doing file: ");
|
|
|
|
SERIAL_ECHOPGM("Now doing file: ");
|
|
|
|
SERIAL_ECHOLN(name);
|
|
|
|
SERIAL_ECHOLN(name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else { //opening fresh file
|
|
|
|
else { //opening fresh file
|
|
|
|
file_subcall_ctr = 0; //resetting procedure depth in case user cancels print while in procedure
|
|
|
|
file_subcall_ctr = 0; //resetting procedure depth in case user cancels print while in procedure
|
|
|
|