Skip to content

Commit

Permalink
fixup! fixup! riotboot: implement serial bootloader feature
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Nov 24, 2020
1 parent 0a54d8c commit a044e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/riotboot/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ int riotboot_serial_loader(void)

uart_init(RIOTBOOT_UART_DEV, RIOTBOOT_UART_BAUDRATE, _uart_rx_cmd, (void*)&reading);

/* give the user some time to interrupt auto boot */
if (_bootdelay(RIOTBOOT_DELAY, &reading)) {
return -1;
}

uart_write_byte(RIOTBOOT_UART_DEV, RIOTBOOT_STAT_READY);
while (1) {

/* we can't use mutex in riotboot */
Expand Down

0 comments on commit a044e5a

Please sign in to comment.