mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 08:24:07 +08:00
removed platform specificness
This commit is contained in:
parent
3bfc4a5a52
commit
c8ad06ff99
@ -67,7 +67,6 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef CONFIG_ARCH_ARM
|
||||
__BEGIN_DECLS
|
||||
|
||||
__EXPORT const char *getprogname(void);
|
||||
@ -87,8 +86,4 @@ __EXPORT void vwarnx(const char *fmt, va_list) __attribute__((format(printf, 1,
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#else //we are using ROS (should make a variable!!!)
|
||||
#include <ros/ros.h>
|
||||
#define warnx ROS_WARN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user