sensors remove barometer enabled check for now

This commit is contained in:
Daniel Agar
2017-11-15 01:34:59 -05:00
parent 8d27925443
commit fabab8ac4d
+1 -1
View File
@@ -821,7 +821,7 @@ void VotedSensorsUpdate::baro_poll(struct sensor_combined_s &raw)
bool baro_updated;
orb_check(_baro.subscription[uorb_index], &baro_updated);
if (baro_updated && _baro.enabled[uorb_index]) {
if (baro_updated) {
struct baro_report baro_report;
orb_copy(ORB_ID(sensor_baro), _baro.subscription[uorb_index], &baro_report);