mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Replay: removed the timestamp rounding code
this makes things worse for plane replay
This commit is contained in:
parent
0619247992
commit
ba930f8cf1
@ -198,7 +198,6 @@ extern uint64_t last_timestamp_usec; // fixme!
|
||||
void MsgHandler::wait_timestamp(uint32_t timestamp)
|
||||
{
|
||||
uint64_t timestamp_usec = timestamp*1000UL;
|
||||
timestamp_usec = ((timestamp_usec + 1000) / 2500) * 2500;
|
||||
last_timestamp_usec = timestamp_usec;
|
||||
hal.scheduler->stop_clock(timestamp_usec);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user