Skip to content

Commit

Permalink
bbio_uart set rthread to NULL when stop thread
Browse files Browse the repository at this point in the history
  • Loading branch information
bvernoux committed Apr 10, 2016
1 parent 81600c2 commit 02d7434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hydrabus/hydrabus_bbio_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ void bbio_mode_uart(t_hydra_console *con)
{
chThdTerminate(rthread);
chThdWait(rthread);
rthread = NULL;
}
cprint(con, "\x01", 1);
break;
Expand Down

0 comments on commit 02d7434

Please sign in to comment.