Skip to content

Commit

Permalink
sensors: don't copy gyro twice
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Feb 18, 2019
1 parent c0d5204 commit 614e69c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/sensors/voted_sensors_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ void VotedSensorsUpdate::parameters_update()
/* temperature compensation */
_temperature_compensation.parameters_update(_hil_enabled);

#if 0
/* gyro */
for (int topic_instance = 0; topic_instance < GYRO_COUNT_MAX; ++topic_instance) {

Expand Down Expand Up @@ -219,6 +220,7 @@ void VotedSensorsUpdate::parameters_update()
}
}
}
#endif


/* set offset parameters to new values */
Expand Down

0 comments on commit 614e69c

Please sign in to comment.