Skip to content

Commit 0476e9c

Browse files
committed
cdc_uart: add missing clear-break reset of TX LED
1 parent c0ff914 commit 0476e9c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/cdc_uart.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ void tud_cdc_send_break_cb(uint8_t itf, uint16_t wValue) {
278278
case 0:
279279
uart_set_break(PROBE_UART_INTERFACE, false);
280280
timed_break = false;
281+
#ifdef PROBE_UART_TX_LED
282+
tx_led_debounce = 0;
283+
#endif
281284
break;
282285
case 0xffff:
283286
uart_set_break(PROBE_UART_INTERFACE, true);

0 commit comments

Comments
 (0)