There was an error while loading. Please reload this page.
1 parent fbc4116 commit c8eb077Copy full SHA for c8eb077
src/cdc_uart.c
@@ -39,8 +39,14 @@ static uint8_t rx_buf[CFG_TUD_CDC_RX_BUFSIZE];
39
// Actually s^-1 so 25ms
40
#define DEBOUNCE_MS 40
41
static uint debounce_ticks = 5;
42
+
43
+#ifdef PICOPROBE_UART_TX_LED
44
static uint tx_led_debounce;
45
+#endif
46
47
+#ifdef PICOPROBE_UART_RX_LED
48
static uint rx_led_debounce;
49
50
51
void cdc_uart_init(void) {
52
gpio_set_function(PICOPROBE_UART_TX, GPIO_FUNC_UART);
0 commit comments