mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 15:23:34 +08:00
refactor uorb: rename published to advertised
No semantic change (yet)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user