ekf2_replay: Fix bug in replay message format handling

This commit is contained in:
Paul Riseborough
2016-03-16 12:57:55 +11:00
committed by Lorenz Meier
parent a46b924d8c
commit 4b3aab2767
@@ -302,6 +302,11 @@ void Ekf2Replay::parseMessage(uint8_t *source, uint8_t *destination, uint8_t typ
break;
case 'I':
memcpy(&destination[write_index], &source[write_index], sizeof(uint32_t));
write_index += sizeof(uint32_t);
break;
case 'i':
memcpy(&destination[write_index], &source[write_index], sizeof(int32_t));
write_index += sizeof(int32_t);
break;