mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Replay: grab reference to timestamp rather than timestamp
PARM messages would not have been updating the clock correctly Also, random stack corruption...
This commit is contained in:
parent
f93a259b04
commit
0b5e645075
@ -451,7 +451,7 @@ private:
|
||||
class MsgHandler_PARM : public MsgHandler
|
||||
{
|
||||
public:
|
||||
MsgHandler_PARM(log_Format &_f, DataFlash_Class &_dataflash, uint64_t _last_timestamp_usec) : MsgHandler(_f, _dataflash, _last_timestamp_usec) {};
|
||||
MsgHandler_PARM(log_Format &_f, DataFlash_Class &_dataflash, uint64_t &_last_timestamp_usec) : MsgHandler(_f, _dataflash, _last_timestamp_usec) {};
|
||||
|
||||
virtual void process_message(uint8_t *msg);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user