From 9e36e9895d52bfafe4ab0c7279fa4bcd559dcc32 Mon Sep 17 00:00:00 2001 From: hujun5 Date: Mon, 23 Dec 2024 12:44:38 +0800 Subject: [PATCH] fix compile error Configuration/Tool: esp32s2-kaluga-1/audio Error: chip/esp32s2_lowputc.c:102:22: error: expected '}' before ';' token 102 | .lock = SP_UNLOCKED; | ^ chip/esp32s2_lowputc.c:62:1: note: to match this '{' 62 | { Signed-off-by: hujun5 --- arch/xtensa/src/esp32s2/esp32s2_lowputc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/xtensa/src/esp32s2/esp32s2_lowputc.c b/arch/xtensa/src/esp32s2/esp32s2_lowputc.c index 2cc0488ac5d03..a9a452e7e5ae6 100644 --- a/arch/xtensa/src/esp32s2/esp32s2_lowputc.c +++ b/arch/xtensa/src/esp32s2/esp32s2_lowputc.c @@ -99,7 +99,7 @@ struct esp32s2_uart_s g_uart0_config = .rs485_dir_polarity = true, #endif #endif - .lock = SP_UNLOCKED; + .lock = SP_UNLOCKED }; #endif /* CONFIG_ESP32S2_UART0 */ @@ -147,7 +147,7 @@ struct esp32s2_uart_s g_uart1_config = .rs485_dir_polarity = true, #endif #endif - .lock = SP_UNLOCKED; + .lock = SP_UNLOCKED }; #endif /* CONFIG_ESP32S2_UART1 */