Stepper and Endstops as singleton objects
This commit is contained in:
@ -596,7 +596,7 @@ void CardReader::updir() {
|
||||
}
|
||||
|
||||
void CardReader::printingHasFinished() {
|
||||
st_synchronize();
|
||||
stepper.synchronize();
|
||||
if (file_subcall_ctr > 0) { // Heading up to a parent file that called current as a procedure.
|
||||
file.close();
|
||||
file_subcall_ctr--;
|
||||
|
Reference in New Issue
Block a user