Browse Source

voted_sensors_update: fix typo

sbg
CarlOlsson 6 years ago committed by Daniel Agar
parent
commit
cd382d8874
  1. 2
      src/modules/sensors/voted_sensors_update.cpp

2
src/modules/sensors/voted_sensors_update.cpp

@ -703,7 +703,7 @@ void VotedSensorsUpdate::gyro_poll(struct sensor_combined_s &raw) @@ -703,7 +703,7 @@ void VotedSensorsUpdate::gyro_poll(struct sensor_combined_s &raw)
_last_sensor_data[uorb_index].timestamp = gyro_report.timestamp - 1000;
}
// approximate the delta time using the difference in gyro data time stamps
// approximate the delta time using the difference in gyro data time stamps
_last_sensor_data[uorb_index].gyro_integral_dt =
(gyro_report.timestamp - _last_sensor_data[uorb_index].timestamp);
}

Loading…
Cancel
Save