From 5f90f45ac44e74f403d2c3670586c0897c7ae76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Fri, 3 May 2024 12:37:19 +0200 Subject: [PATCH] trunk fmt --- src/FSCommon.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/FSCommon.cpp b/src/FSCommon.cpp index 6a394c021..d5ca72142 100644 --- a/src/FSCommon.cpp +++ b/src/FSCommon.cpp @@ -212,17 +212,17 @@ void fsInit() LOG_ERROR("Filesystem mount Failed.\n"); // assert(0); This auto-formats the partition, so no need to fail here. } -#if defined(ARCH_ESP32) +#if defined(ARCH_ESP32) LOG_DEBUG("Filesystem files (%d/%d Bytes):\n", FSCom.usedBytes(), FSCom.totalBytes()); #elif defined(ARCH_NRF52) /* - * nRF52840 has a certain chance of automatic formatting failure. - * Try to create a file after initializing the file system. If the creation fails, - * it means that the file system is not working properly. Please format it manually again. - * */ + * nRF52840 has a certain chance of automatic formatting failure. + * Try to create a file after initializing the file system. If the creation fails, + * it means that the file system is not working properly. Please format it manually again. + * */ Adafruit_LittleFS_Namespace::File file(FSCom); const char *filename = "/meshtastic.txt"; - if (! file.open(filename, FILE_O_WRITE) ) { + if (!file.open(filename, FILE_O_WRITE)) { LOG_DEBUG("Format ...."); FSCom.format(); FSCom.begin();