From 599edeeafbee2d8ce33cebc517b37d7c142245f3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 17 Dec 2013 12:15:41 +1100 Subject: [PATCH] DataFlash: removed debug code for creating logs with no headers --- libraries/DataFlash/LogFile.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/DataFlash/LogFile.cpp b/libraries/DataFlash/LogFile.cpp index 955c42005c..3fd488bea7 100644 --- a/libraries/DataFlash/LogFile.cpp +++ b/libraries/DataFlash/LogFile.cpp @@ -561,14 +561,12 @@ uint16_t DataFlash_Class::StartNewLog(void) uint16_t ret; ret = start_new_log(); -#if 0 // write log formats so the log is self-describing for (uint8_t i=0; i<_num_types; i++) { Log_Write_Format(&_structures[i]); // avoid corrupting the APM1/APM2 dataflash by writing too fast hal.scheduler->delay(10); } -#endif // and all current parameters Log_Write_Parameters();