1、fix uart dev_recv_callback not init error;2、fix app_test compile error.

This commit is contained in:
Liu_Weichao
2023-11-28 11:11:53 +08:00
parent 8a8a513cf1
commit 3378579d9e
29 changed files with 36 additions and 2 deletions

View File

@@ -59,6 +59,7 @@ static int SensorDeviceOpen(struct SensorDevice *sdev)
cfg.ext_uart_no = SENSOR_DEVICE_TB600B_TVOC10_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;