From f29e7ce91634ff008486c163c0d11be27ab5f79b Mon Sep 17 00:00:00 2001 From: theFeiter Date: Sun, 10 Jul 2022 19:50:47 +0200 Subject: [PATCH] add defined filename --- FDRS_Gateway/fdrs_functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FDRS_Gateway/fdrs_functions.h b/FDRS_Gateway/fdrs_functions.h index 0fc8b2e..dfe0a2a 100644 --- a/FDRS_Gateway/fdrs_functions.h +++ b/FDRS_Gateway/fdrs_functions.h @@ -207,7 +207,7 @@ void releaseLogBuffer() #endif #ifdef USE_FS_LOG DBG("Releasing Log buffer to internal flash."); - File logfile = LittleFS.open(filename, "a"); + File logfile = LittleFS.open(FS_FILENAME, "a"); logfile.print(logBuffer); logfile.close(); #endif