Fix - reintroduce call to flash_log_flush()