Stepper and Endstops as singleton objects

This commit is contained in:
Scott Lahteine
2016-04-27 07:15:20 -07:00
parent 98f30283fa
commit 5e4e535ce8
10 changed files with 950 additions and 762 deletions

View File

@ -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--;