From a6fd71853031867d27d4c38ca96d86723474a2d3 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 2 Jun 2016 15:22:23 +0100 Subject: [PATCH] px4_log: use proper ROS printfs --- src/platforms/px4_log.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/platforms/px4_log.h b/src/platforms/px4_log.h index ddb58e3b0a..565458b1e5 100644 --- a/src/platforms/px4_log.h +++ b/src/platforms/px4_log.h @@ -60,11 +60,11 @@ static inline void do_nothing(int level, ...) #if defined(__PX4_ROS) #include -#define PX4_PANIC(...) ROS_WARN(__VA_ARGS__) -#define PX4_ERR(...) ROS_WARN(__VA_ARGS__) +#define PX4_PANIC(...) ROS_FATAL(__VA_ARGS__) +#define PX4_ERR(...) ROS_ERROR(__VA_ARGS__) #define PX4_WARN(...) ROS_WARN(__VA_ARGS__) -#define PX4_INFO(...) ROS_WARN(__VA_ARGS__) -#define PX4_DEBUG(...) +#define PX4_INFO(...) ROS_INFO(__VA_ARGS__) +#define PX4_DEBUG(...) ROS_DEBUG(__VA_ARGS__) #define PX4_BACKTRACE() #elif defined(__PX4_QURT)