longan/brandy/arisc/ar100s/driver/uart/uart.c
.. .. @@ -7,7 +7,7 @@ 7 7 */ 8 8 #include "uart_i.h" 9 9 10 -volatile u32 uart_pin_not_used = 0;10 +volatile u32 uart_pin_not_used = 1;11 11 volatile u32 uart_lock = 1; 12 12 volatile static u32 uart_rate; 13 13 .. .. @@ -115,7 +115,7 @@ 115 115 s32 uart_exit(void) 116 116 { 117 117 uart_lock = 1; 118 - uart_pin_not_used = 0;118 + uart_pin_not_used = 1;119 119 120 120 pin_set_multi_sel(PIN_GRP_PL, 2, 7); 121 121 pin_set_multi_sel(PIN_GRP_PL, 3, 7);