From 9f314dd1918d2fdb2b0bc5819db9424b2e707af6 Mon Sep 17 00:00:00 2001 From: Ban Siesta Date: Sun, 24 May 2015 20:56:25 +0100 Subject: [PATCH] drivers: corrected log string --- src/drivers/mb12xx/mb12xx.cpp | 2 +- src/drivers/px4flow/px4flow.cpp | 2 +- src/drivers/sf0x/sf0x.cpp | 2 +- src/drivers/trone/trone.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/drivers/mb12xx/mb12xx.cpp b/src/drivers/mb12xx/mb12xx.cpp index fcac2e1b81..afeb8e5545 100644 --- a/src/drivers/mb12xx/mb12xx.cpp +++ b/src/drivers/mb12xx/mb12xx.cpp @@ -277,7 +277,7 @@ MB12XX::init() &_orb_class_instance, ORB_PRIO_LOW); 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?"); } } diff --git a/src/drivers/px4flow/px4flow.cpp b/src/drivers/px4flow/px4flow.cpp index e48b0b3b48..4d87d1cfe1 100644 --- a/src/drivers/px4flow/px4flow.cpp +++ b/src/drivers/px4flow/px4flow.cpp @@ -245,7 +245,7 @@ PX4FLOW::init() &_orb_class_instance, ORB_PRIO_HIGH); 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?"); } } diff --git a/src/drivers/sf0x/sf0x.cpp b/src/drivers/sf0x/sf0x.cpp index bace2aaa0d..431184d046 100644 --- a/src/drivers/sf0x/sf0x.cpp +++ b/src/drivers/sf0x/sf0x.cpp @@ -301,7 +301,7 @@ SF0X::init() &_orb_class_instance, ORB_PRIO_HIGH); 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?"); } } diff --git a/src/drivers/trone/trone.cpp b/src/drivers/trone/trone.cpp index 691c509e23..23e52547a1 100644 --- a/src/drivers/trone/trone.cpp +++ b/src/drivers/trone/trone.cpp @@ -302,7 +302,7 @@ TRONE::init() &_orb_class_instance, ORB_PRIO_LOW); 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?"); } }