Fix up DriverFramework wrappers, bring them back to the real device ID they have already in-built

This commit is contained in:
Lorenz Meier
2017-01-19 19:24:52 +01:00
parent eac6dfed3c
commit 49a29ee775
6 changed files with 1 additions and 27 deletions
@@ -708,16 +708,10 @@ int DfMpu9250Wrapper::_publish(struct imu_sensor_data &data)
gyro_report.y_integral = gyro_val_integ(1);
gyro_report.z_integral = gyro_val_integ(2);
/* TODO return unique hardware ID */
gyro_report.device_id = 0;
accel_report.x_integral = accel_val_integ(0);
accel_report.y_integral = accel_val_integ(1);
accel_report.z_integral = accel_val_integ(2);
/* TODO return unique hardware ID */
accel_report.device_id = 0;
// TODO: when is this ever blocked?
if (!(m_pub_blocked)) {