mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-12 19:03:58 -04:00
DataFlash: speed up DataFlash in Replay
This commit is contained in:
parent
dcb25632fb
commit
c153d31dd2
@ -648,7 +648,7 @@ void DataFlash_File::_io_timer(void)
|
|||||||
chunk, ensuring the directory entry is updated after each
|
chunk, ensuring the directory entry is updated after each
|
||||||
write.
|
write.
|
||||||
*/
|
*/
|
||||||
#if CONFIG_HAL_BOARD != HAL_BOARD_AVR_SITL
|
#if CONFIG_HAL_BOARD != HAL_BOARD_AVR_SITL && CONFIG_HAL_BOARD_SUBTYPE != HAL_BOARD_SUBTYPE_LINUX_NONE
|
||||||
::fsync(_write_fd);
|
::fsync(_write_fd);
|
||||||
#endif
|
#endif
|
||||||
BUF_ADVANCEHEAD(_writebuf, nwritten);
|
BUF_ADVANCEHEAD(_writebuf, nwritten);
|
||||||
|
Loading…
Reference in New Issue
Block a user