We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f72a7dd commit 92f0469Copy full SHA for 92f0469
ports/esp32/uart.c
@@ -50,7 +50,11 @@ STATIC void uart_irq_handler(void *arg);
50
51
void uart_stdout_init(void) {
52
uart_hal_context_t repl_hal = REPL_HAL_DEFN();
53
+ #if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 3, 0)
54
uart_sclk_t sclk;
55
+ #else
56
+ soc_module_clk_t sclk;
57
+ #endif
58
uint32_t sclk_freq;
59
60
uart_hal_get_sclk(&repl_hal, &sclk); // To restore SCLK after uart_hal_init() resets it
0 commit comments