mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
DataFlash: fix incorrect comment
This commit is contained in:
parent
8225e58454
commit
65813f308e
@ -652,8 +652,8 @@ void DataFlash_File::_io_timer(void)
|
||||
uint32_t tnow = hal.scheduler->micros();
|
||||
if (nbytes < _writebuf_chunk &&
|
||||
tnow - _last_write_time < 2000000UL) {
|
||||
// write in 512 byte chunks, but always write at least once
|
||||
// per 2 seconds if data is available
|
||||
// write in _writebuf_chunk-sized chunks, but always write at
|
||||
// least once per 2 seconds if data is available
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user