diff --git a/Tools/Replay/LogReader.cpp b/Tools/Replay/LogReader.cpp index 4c8ef85212..be3a1ddfb7 100644 --- a/Tools/Replay/LogReader.cpp +++ b/Tools/Replay/LogReader.cpp @@ -164,7 +164,7 @@ void LogReader::process_plane(uint8_t type, uint8_t *data, uint16_t length) case LOG_PLANE_AIRSPEED_MSG: { struct log_AIRSPEED msg; - if(sizeof(msg) != length) { + if (sizeof(msg) != length && length != sizeof(msg)+8) { printf("Bad AIRSPEED length\n"); exit(1); }