Skip to content

Commit

Permalink
make clang happy
Browse files Browse the repository at this point in the history
  • Loading branch information
tueddy authored Dec 16, 2024
1 parent 1ae02e6 commit 2c37f6a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/System.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c37f6a

Please sign in to comment.