diff --git a/libraries/DataFlash/DataFlash_File.cpp b/libraries/DataFlash/DataFlash_File.cpp index afa60e19b9..a844004070 100644 --- a/libraries/DataFlash/DataFlash_File.cpp +++ b/libraries/DataFlash/DataFlash_File.cpp @@ -356,7 +356,7 @@ uint16_t DataFlash_File::get_num_logs(void) { uint16_t ret; uint16_t high = find_last_log(); - for (ret=1; ret