-
-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hard limit causes crash when using SD Card #47
Comments
PC: 0x400810c8: onStepperDriverTimer(void*) at C:\Users\V\AppData\Local\Temp\arduino_build_527734\sketch\stepper.cpp line 265 Decoding stack results |
I will think about this. I agree you should be able to recover from the keyboard. |
Hard limit ISR calls mc_reset, which calls file close if streaming gcode from an sd card file.
close attempts to take a lock which causes the crash (can't take a lock in interrupt context).
Unsure how best to attack this, but it would be nice to gracefully recover so a software reset could be issued to bring the machine back to operating state once the hard limit switch has been cleared.
Currently requires a hard reset / power cycle to recover.
The text was updated successfully, but these errors were encountered: