-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unitialized variable bug: when filament load/unload is canceled, stop…
…Motor() would be called. But startMotor() may not have been called in which case state saved by startMotor() is not initialized. Thus, when that state is used by stopMotor() undefined things can happen -- motors disabled that shouldn't be, digipots set to invalid values, etc.
- Loading branch information
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters