mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
df_ms5607_wrapper: astyle (#4853)
This commit is contained in:
@@ -185,8 +185,8 @@ int DfMS5607Wrapper::_publish(struct baro_sensor_data &data)
|
|||||||
if (!(m_pub_blocked)) {
|
if (!(m_pub_blocked)) {
|
||||||
|
|
||||||
if (_baro_topic == nullptr) {
|
if (_baro_topic == nullptr) {
|
||||||
_baro_topic = orb_advertise_multi(ORB_ID(sensor_baro), &baro_report,
|
_baro_topic = orb_advertise_multi(ORB_ID(sensor_baro), &baro_report,
|
||||||
&_baro_orb_class_instance, ORB_PRIO_DEFAULT);
|
&_baro_orb_class_instance, ORB_PRIO_DEFAULT);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
orb_publish(ORB_ID(sensor_baro), _baro_topic, &baro_report);
|
orb_publish(ORB_ID(sensor_baro), _baro_topic, &baro_report);
|
||||||
|
|||||||
Reference in New Issue
Block a user