Skip to content
Snippets Groups Projects
Commit a6fd7185 authored by Julian Oes's avatar Julian Oes Committed by Lorenz Meier
Browse files

px4_log: use proper ROS printfs

parent f68a6eb4
No related branches found
No related tags found
No related merge requests found
......@@ -60,11 +60,11 @@ static inline void do_nothing(int level, ...)
#if defined(__PX4_ROS)
#include <ros/console.h>
#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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment