forked from xuos/xiuos
add is_ext_uart in serial_cfg for framework
This commit is contained in:
@@ -108,6 +108,7 @@ static int E18UartOpen(struct Adapter *adapter)
|
||||
|
||||
/*aiit board use ch438, so it needs more serial configuration*/
|
||||
#ifdef ADAPTER_E18_DRIVER_EXTUART
|
||||
cfg.is_ext_uart = 1;
|
||||
cfg.ext_uart_no = ADAPTER_E18_DRIVER_EXT_PORT;
|
||||
cfg.port_configure = PORT_CFG_INIT;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user