cdc_uart: avoid compilation warning if UART LEDs not used
diff --git a/src/cdc_uart.c b/src/cdc_uart.c
index 2eb4ec4..bec467b 100644
--- a/src/cdc_uart.c
+++ b/src/cdc_uart.c
@@ -39,8 +39,14 @@
 // Actually s^-1 so 25ms
 #define DEBOUNCE_MS 40
 static uint debounce_ticks = 5;
+
+#ifdef PICOPROBE_UART_TX_LED
 static uint tx_led_debounce;
+#endif
+
+#ifdef PICOPROBE_UART_RX_LED
 static uint rx_led_debounce;
+#endif
 
 void cdc_uart_init(void) {
     gpio_set_function(PICOPROBE_UART_TX, GPIO_FUNC_UART);