AP_DAL: rename xxprintf() to rprintf()

This commit is contained in:
Andrew Tridgell 2020-11-07 12:35:04 +11:00
parent 9542f365f6
commit c7cc26d9bc
2 changed files with 7 additions and 2 deletions

View File

@ -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)

View File

@ -355,5 +355,6 @@ namespace AP {
AP_DAL &dal();
};
void xxprintf(const char *format, ...);
// replay printf for debugging
void rprintf(const char *format, ...);