Explorar o código

关闭串口输入

luyuan_t440 %!s(int64=2) %!d(string=hai) anos
pai
achega
129ca05dd6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      linux/drivers/tty/serial/ark_uart.c

+ 1 - 1
linux/drivers/tty/serial/ark_uart.c

@@ -187,7 +187,7 @@ struct uart_amba_port {
 #endif
 };
 
-static bool enable_console = true;//false;
+static bool enable_console = false;//false;
 
 static void (*mcu_serial_rev_handler)(unsigned char ch);
 static struct work_struct *mcu_serial_rev_task;