refactor uorb: rename published to advertised

No semantic change (yet)
This commit is contained in:
Beat Küng
2019-11-23 10:10:05 -05:00
committed by Daniel Agar
parent 0f6f795aca
commit 63b2befeed
11 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ void Heater::initialize_topics()
for (uint8_t x = 0; x < number_of_imus; x++) {
_sensor_accel_sub = uORB::Subscription{ORB_ID(sensor_accel), x};
if (!_sensor_accel_sub.published()) {
if (!_sensor_accel_sub.advertised()) {
continue;
}