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
|
||||
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);
|
||||
#endif
|
||||
BUF_ADVANCEHEAD(_writebuf, nwritten);
|
||||
|
Loading…
Reference in New Issue
Block a user