mirror of https://github.com/ArduPilot/ardupilot
AP_Logger: skip structure validation in replay
This commit is contained in:
parent
d380447cd5
commit
3152da98e1
|
@ -397,7 +397,7 @@ void AP_Logger_Backend::validate_WritePrioritisedBlock(const void *pBuffer,
|
|||
|
||||
bool AP_Logger_Backend::WritePrioritisedBlock(const void *pBuffer, uint16_t size, bool is_critical)
|
||||
{
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL && !APM_BUILD_TYPE(APM_BUILD_Replay)
|
||||
validate_WritePrioritisedBlock(pBuffer, size);
|
||||
#endif
|
||||
if (!ShouldLog(is_critical)) {
|
||||
|
|
Loading…
Reference in New Issue