forked from Archive/PX4-Autopilot
sensors: Remove effect-less writing of timestamp - was anyway correctly written by gyro update
This commit is contained in:
parent
8cb5a12cc7
commit
dbd467fe1f
|
@ -1592,8 +1592,7 @@ Sensors::task_main()
|
||||||
/* check parameters for updates */
|
/* check parameters for updates */
|
||||||
parameter_update_poll();
|
parameter_update_poll();
|
||||||
|
|
||||||
/* store the time closest to all measurements (this is bogus, sensor timestamps should be propagated...) */
|
/* the timestamp of the raw struct is updated by the gyro_poll() method */
|
||||||
raw.timestamp = hrt_absolute_time();
|
|
||||||
|
|
||||||
/* copy most recent sensor data */
|
/* copy most recent sensor data */
|
||||||
gyro_poll(raw);
|
gyro_poll(raw);
|
||||||
|
|
Loading…
Reference in New Issue