Skip to content

Commit eb587d7

Browse files
hujun260xiaoxiang781216
authored andcommitted
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 <[email protected]>
1 parent 8ea3166 commit eb587d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/xtensa/src/esp32s2/esp32s2_lowputc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ struct esp32s2_uart_s g_uart0_config =
9999
.rs485_dir_polarity = true,
100100
#endif
101101
#endif
102-
.lock = SP_UNLOCKED;
102+
.lock = SP_UNLOCKED
103103
};
104104

105105
#endif /* CONFIG_ESP32S2_UART0 */
@@ -147,7 +147,7 @@ struct esp32s2_uart_s g_uart1_config =
147147
.rs485_dir_polarity = true,
148148
#endif
149149
#endif
150-
.lock = SP_UNLOCKED;
150+
.lock = SP_UNLOCKED
151151
};
152152

153153
#endif /* CONFIG_ESP32S2_UART1 */

0 commit comments

Comments
 (0)