CDev delete unused pub_blocked

This commit is contained in:
Daniel Agar
2020-04-01 11:23:26 -04:00
parent b3fe235129
commit 04bf9afd1b
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -616,7 +616,7 @@ BMA180::measure()
poll_notify(POLLIN);
/* publish for subscribers */
if (_accel_topic != nullptr && !(_pub_blocked)) {
if (_accel_topic != nullptr) {
orb_publish(ORB_ID(sensor_accel), _accel_topic, &report);
}