From fe20713a8ad4e6109fbc940179762eab0c8b624a Mon Sep 17 00:00:00 2001 From: DL3EL Date: Sat, 17 Sep 2022 19:00:10 +0200 Subject: [PATCH] add file.close() Signed-off-by: DL3EL --- src/TTGO_T-Beam_LoRa_APRS.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TTGO_T-Beam_LoRa_APRS.ino b/src/TTGO_T-Beam_LoRa_APRS.ino index be2dbed..348cdc6 100644 --- a/src/TTGO_T-Beam_LoRa_APRS.ino +++ b/src/TTGO_T-Beam_LoRa_APRS.ino @@ -1261,7 +1261,8 @@ int max_file_size = 256; Serial.println("SSID: " + safeApName + " missing or PW: " + safeApPass + " < 8 Byte, Filesize: " + String(file.size())); } else { Serial.println("Fallback SSID: " + safeApName + ", PW: " + safeApPass + ", Filesize: " + String(file.size())); - } + } + file.close(); } // SPIFFS by DL3EL