Skip to content

Commit

Permalink
fixup! native: allow for native to be resetable via SIGUSR1
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Oct 20, 2019
1 parent db515b8 commit 40129dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/native/startup.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ __attribute__((constructor)) static void startup(int argc, char **argv, char **e
periph_init();
board_init();

/* should not errro as SIGUSR is a valid error code and EINVAL is the only
/* should not error as SIGUSR is a valid error code and EINVAL is the only
* specified error code => don't check retirn value */
signal(SIGUSR1, reset_handler);

Expand Down

0 comments on commit 40129dc

Please sign in to comment.