From 2c37f6af7db31b48ec726c6e1c6df4326385255c Mon Sep 17 00:00:00 2001 From: Dirk Carstensen <11274319+tueddy@users.noreply.github.com> Date: Mon, 16 Dec 2024 21:51:45 +0100 Subject: [PATCH] make clang happy --- src/System.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/System.cpp b/src/System.cpp index bf21463f..a4e292fd 100644 --- a/src/System.cpp +++ b/src/System.cpp @@ -40,17 +40,17 @@ void System_DeepSleepManager(void); // Init only NVS required for LPCD void System_Init_LPCD(void) { - #ifdef PN5180_ENABLE_LPCD - gPrefsRfid.begin(prefsRfidNamespace); - #endif +#ifdef PN5180_ENABLE_LPCD + gPrefsRfid.begin(prefsRfidNamespace); +#endif } void System_Init(void) { srand(esp_random()); - #ifndef PN5180_ENABLE_LPCD - gPrefsRfid.begin(prefsRfidNamespace); - #endif +#ifndef PN5180_ENABLE_LPCD + gPrefsRfid.begin(prefsRfidNamespace); +#endif gPrefsSettings.begin(prefsSettingsNamespace); // Get maximum inactivity-time from NVS