Skip to content
Snippets Groups Projects
Commit a3422325 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

Replay: cope with new airspeed log msg

parent 8acfbb2e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment