mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
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 <hujun5@xiaomi.com>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user