Delete fakesensor init.

Because there are no csv file exit.

Signed-off-by: buyuer <dingddding@163.com>
This commit is contained in:
buyuer 2021-07-15 16:04:38 +08:00 committed by Xiang Xiao
parent 0d36b2d889
commit bcc876ec6c

View File

@ -459,17 +459,6 @@ int sim_bringup(void)
#endif
#endif
#ifdef CONFIG_SENSORS_FAKESENSOR
fakesensor_init(SENSOR_TYPE_ACCELEROMETER,
"/data/boards/sim/sim/sim/src/csv/accel.csv", 0, 50);
fakesensor_init(SENSOR_TYPE_MAGNETIC_FIELD,
"/data/boards/sim/sim/sim/src/csv/mag.csv", 0, 50);
fakesensor_init(SENSOR_TYPE_GYROSCOPE,
"/data/boards/sim/sim/sim/src/csv/gyro.csv", 0, 50);
#endif
#ifdef CONFIG_RC_DUMMY
rc_dummy_initialize(0);
#endif