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