mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_DAL: rename xxprintf() to rprintf()
This commit is contained in:
parent
9542f365f6
commit
c7cc26d9bc
@ -416,7 +416,11 @@ AP_DAL &dal()
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void xxprintf(const char *format, ...)
|
/*
|
||||||
|
replay printf. To debug replay failures add rprintf() calls into
|
||||||
|
EKF2/EKF3 and compare /tmp/replay.log to /tmp/real.log
|
||||||
|
*/
|
||||||
|
void rprintf(const char *format, ...)
|
||||||
{
|
{
|
||||||
#if APM_BUILD_TYPE(APM_BUILD_Replay) || CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if APM_BUILD_TYPE(APM_BUILD_Replay) || CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
#if APM_BUILD_TYPE(APM_BUILD_Replay)
|
#if APM_BUILD_TYPE(APM_BUILD_Replay)
|
||||||
|
@ -355,5 +355,6 @@ namespace AP {
|
|||||||
AP_DAL &dal();
|
AP_DAL &dal();
|
||||||
};
|
};
|
||||||
|
|
||||||
void xxprintf(const char *format, ...);
|
// replay printf for debugging
|
||||||
|
void rprintf(const char *format, ...);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user