From 65813f308e47ae0b547c948a6ade2c00d53739bd Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 20 Jul 2015 10:41:14 +1000 Subject: [PATCH] DataFlash: fix incorrect comment --- libraries/DataFlash/DataFlash_File.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/DataFlash/DataFlash_File.cpp b/libraries/DataFlash/DataFlash_File.cpp index fde93e0d9f..b0d19b6528 100644 --- a/libraries/DataFlash/DataFlash_File.cpp +++ b/libraries/DataFlash/DataFlash_File.cpp @@ -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; }