From a03b569d433a64c578d43aefe87f1e476801f407 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 29 Dec 2018 11:08:38 +1100 Subject: [PATCH] DataFlash: allow startup with no microSD this allows logging to work with insert after boot --- libraries/DataFlash/DataFlash_File.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/DataFlash/DataFlash_File.cpp b/libraries/DataFlash/DataFlash_File.cpp index 8c68fbb46e..653f7c78cc 100644 --- a/libraries/DataFlash/DataFlash_File.cpp +++ b/libraries/DataFlash/DataFlash_File.cpp @@ -134,7 +134,6 @@ void DataFlash_File::Init() } if (ret == -1) { printf("Failed to create log directory %s : %s\n", _log_directory, strerror(errno)); - return; } // determine and limit file backend buffersize