Skip to content

Commit adda6a5

Browse files
committed
pbio/sys/main: Correctly reset hardware after program.
This was missed in acbbae9. This would cause motors not to close at the end of a program, so they would be busy the next time around.
1 parent 902ea6c commit adda6a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/pbio/src/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ void pbio_main_soft_stop(void) {
8080
*/
8181
pbio_error_t pbio_main_stop_application_resources(void) {
8282

83+
pbio_port_stop_user_actions(true);
8384
pbio_main_soft_stop();
8485

8586
pbio_error_t err;

0 commit comments

Comments
 (0)