huangcm
2025-07-03 a76b2fadf6ad4adf86e241e3753a63efe03ef80c
longan/brandy/arisc/ar100s/driver/uart/uart.c
....@@ -7,7 +7,7 @@
77 */
88 #include "uart_i.h"
99
10
-volatile u32 uart_pin_not_used = 0;
10
+volatile u32 uart_pin_not_used = 1;
1111 volatile u32 uart_lock = 1;
1212 volatile static u32 uart_rate;
1313
....@@ -115,7 +115,7 @@
115115 s32 uart_exit(void)
116116 {
117117 uart_lock = 1;
118
- uart_pin_not_used = 0;
118
+ uart_pin_not_used = 1;
119119
120120 pin_set_multi_sel(PIN_GRP_PL, 2, 7);
121121 pin_set_multi_sel(PIN_GRP_PL, 3, 7);