Browse Source

uORBManager: removed printfs

sbg
Julian Oes 9 years ago committed by Lorenz Meier
parent
commit
6b1bcef644
  1. 8
      src/modules/uORB/uORBManager.cpp

8
src/modules/uORB/uORBManager.cpp

@ -352,7 +352,7 @@ uORBCommunicator::IChannel *uORB::Manager::get_uorb_communicator(void) @@ -352,7 +352,7 @@ uORBCommunicator::IChannel *uORB::Manager::get_uorb_communicator(void)
int16_t uORB::Manager::process_add_subscription(const char *messageName,
int32_t msgRateInHz)
{
warnx("[posix-uORB::Manager::process_add_subscription(%d)] entering Manager_process_add_subscription: name: %s",
PX4_DEBUG("[posix-uORB::Manager::process_add_subscription(%d)] entering Manager_process_add_subscription: name: %s",
__LINE__, messageName);
int16_t rc = 0;
_remote_subscriber_topics.insert(messageName);
@ -364,7 +364,7 @@ int16_t uORB::Manager::process_add_subscription(const char *messageName, @@ -364,7 +364,7 @@ int16_t uORB::Manager::process_add_subscription(const char *messageName,
uORB::DeviceNode *node = uORB::DeviceMaster::GetDeviceNode(nodepath);
if (node == nullptr) {
warnx("[posix-uORB::Manager::process_add_subscription(%d)]DeviceNode(%s) not created yet",
PX4_DEBUG("[posix-uORB::Manager::process_add_subscription(%d)]DeviceNode(%s) not created yet",
__LINE__, messageName);
} else {
@ -396,7 +396,7 @@ int16_t uORB::Manager::process_remove_subscription( @@ -396,7 +396,7 @@ int16_t uORB::Manager::process_remove_subscription(
// get the node name.
if (node == nullptr) {
warnx("[posix-uORB::Manager::process_remove_subscription(%d)]Error No existing subscriber found for message: [%s]",
PX4_DEBUG("[posix-uORB::Manager::process_remove_subscription(%d)]Error No existing subscriber found for message: [%s]",
__LINE__, messageName);
} else {
@ -425,7 +425,7 @@ int16_t uORB::Manager::process_received_message(const char *messageName, @@ -425,7 +425,7 @@ int16_t uORB::Manager::process_received_message(const char *messageName,
// get the node name.
if (node == nullptr) {
warnx("[uORB::Manager::process_received_message(%d)]Error No existing subscriber found for message: [%s] nodepath:[%s]",
PX4_DEBUG("[uORB::Manager::process_received_message(%d)]Error No existing subscriber found for message: [%s] nodepath:[%s]",
__LINE__, messageName, nodepath);
} else {

Loading…
Cancel
Save