ekf2_replay: support parsing a uint32_t

This commit is contained in:
Roman
2016-03-10 08:21:05 +01:00
committed by Lorenz Meier
parent 89ace03133
commit 7a6a09f1a1

View File

@@ -296,6 +296,11 @@ void Ekf2Replay::parseMessage(uint8_t *source, uint8_t *destination, uint8_t typ
write_index += sizeof(uint8_t);
break;
case 'I':
memcpy(&destination[write_index], &source[write_index], sizeof(int32_t));
write_index += sizeof(int32_t);
break;
default:
PX4_WARN("found unsupported data type in replay message, exiting!");
_task_should_exit = true;