Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
a6fd7185
Commit
a6fd7185
authored
8 years ago
by
Julian Oes
Committed by
Lorenz Meier
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
px4_log: use proper ROS printfs
parent
f68a6eb4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/platforms/px4_log.h
+4
-4
4 additions, 4 deletions
src/platforms/px4_log.h
with
4 additions
and
4 deletions
src/platforms/px4_log.h
+
4
−
4
View file @
a6fd7185
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment