forked from xuos/xiuos
1、fix uart dev_recv_callback not init error;2、fix app_test compile error.
This commit is contained in:
@@ -59,6 +59,7 @@ static int SensorDeviceOpen(struct SensorDevice *sdev)
|
||||
cfg.ext_uart_no = SENSOR_DEVICE_TB600B_WQ_HCHO1OS_DEV_EXT_PORT;
|
||||
cfg.port_configure = PORT_CFG_INIT;
|
||||
#endif
|
||||
cfg.dev_recv_callback = NULL;
|
||||
|
||||
struct PrivIoctlCfg ioctl_cfg;
|
||||
ioctl_cfg.ioctl_driver_type = SERIAL_TYPE;
|
||||
|
||||
Reference in New Issue
Block a user