mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 06:11:37 +08:00
drivers: corrected log string
This commit is contained in:
@@ -277,7 +277,7 @@ MB12XX::init()
|
|||||||
&_orb_class_instance, ORB_PRIO_LOW);
|
&_orb_class_instance, ORB_PRIO_LOW);
|
||||||
|
|
||||||
if (_distance_sensor_topic < 0) {
|
if (_distance_sensor_topic < 0) {
|
||||||
log("failed to create sensor_range_finder object. Did you start uOrb?");
|
log("failed to create distance_sensor object. Did you start uOrb?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ PX4FLOW::init()
|
|||||||
&_orb_class_instance, ORB_PRIO_HIGH);
|
&_orb_class_instance, ORB_PRIO_HIGH);
|
||||||
|
|
||||||
if (_distance_sensor_topic < 0) {
|
if (_distance_sensor_topic < 0) {
|
||||||
log("failed to create sensor_range_finder object. Did you start uOrb?");
|
log("failed to create distance_sensor object. Did you start uOrb?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -301,7 +301,7 @@ SF0X::init()
|
|||||||
&_orb_class_instance, ORB_PRIO_HIGH);
|
&_orb_class_instance, ORB_PRIO_HIGH);
|
||||||
|
|
||||||
if (_distance_sensor_topic < 0) {
|
if (_distance_sensor_topic < 0) {
|
||||||
log("failed to create sensor_range_finder object. Did you start uOrb?");
|
log("failed to create distance_sensor object. Did you start uOrb?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ TRONE::init()
|
|||||||
&_orb_class_instance, ORB_PRIO_LOW);
|
&_orb_class_instance, ORB_PRIO_LOW);
|
||||||
|
|
||||||
if (_distance_sensor_topic < 0) {
|
if (_distance_sensor_topic < 0) {
|
||||||
log("failed to create sensor_range_finder object. Did you start uOrb?");
|
log("failed to create distance_sensor object. Did you start uOrb?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user