mirror of
https://github.com/hathach/tinyusb.git
synced 2026-04-25 16:15:06 +00:00
Fix board_reset_to_bootloader
Signed-off-by: HiFiPhile <admin@hifiphile.com>
This commit is contained in:
@ -139,9 +139,7 @@ void tud_cdc_line_state_cb(uint8_t instance, bool dtr, bool rts) {
|
||||
cdc_line_coding_t coding;
|
||||
tud_cdc_get_line_coding(&coding);
|
||||
if (coding.bit_rate == 1200) {
|
||||
if (board_reset_to_bootloader) {
|
||||
board_reset_to_bootloader();
|
||||
}
|
||||
board_reset_to_bootloader();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user