mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 05:43:34 +08:00
EKF: Use debug prints for NuttX builds
This commit is contained in:
committed by
Daniel Agar
parent
0f47cae1e1
commit
4bad2a272c
@@ -47,9 +47,15 @@
|
|||||||
#define ecl_elapsed_time hrt_elapsed_time
|
#define ecl_elapsed_time hrt_elapsed_time
|
||||||
using ecl_abstime = hrt_abstime;
|
using ecl_abstime = hrt_abstime;
|
||||||
|
|
||||||
#define ECL_INFO PX4_INFO
|
#if defined(__PX4_NUTTX)
|
||||||
#define ECL_WARN PX4_WARN
|
# define ECL_INFO PX4_DEBUG
|
||||||
#define ECL_ERR PX4_ERR
|
# define ECL_WARN PX4_DEBUG
|
||||||
|
# define ECL_ERR PX4_DEBUG
|
||||||
|
#else
|
||||||
|
# define ECL_INFO PX4_INFO
|
||||||
|
# define ECL_WARN PX4_WARN
|
||||||
|
# define ECL_ERR PX4_ERR
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif defined(__PAPARAZZI)
|
#elif defined(__PAPARAZZI)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user