Skip to content

Commit 62cfee6

Browse files
authored
Merge pull request #4 from v1605/dev
Fix Mapping File Issue
2 parents ad26745 + 788e66b commit 62cfee6

File tree

6 files changed

+13
-6624
lines changed

6 files changed

+13
-6624
lines changed

ZaparooEsp32/FeedbackManager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ void FeedbackManager::init(Preferences* prefs) {
4444
i2sDoutPin = preferences->getInt("i2sDoutPin", 25);
4545
setupPins();
4646
delay(500);
47-
createUidMappingFile();
4847

4948
}
5049

ZaparooEsp32/FeedbackManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class FeedbackManager {
1313
private:
1414
Preferences* preferences;
1515
void setupPins();
16-
void createUidMappingFile();
1716
public:
1817
float audioGain = 1.0;
1918
bool wifiLedEnabled = false;
@@ -62,4 +61,5 @@ class FeedbackManager {
6261
int playAudio(const char* audioPath);
6362
void cardInsertedActions(ZaparooToken* obj);
6463
void cardRemovedActions(ZaparooToken* obj);
64+
void createUidMappingFile();
6565
};

ZaparooEsp32/ZaparooEsp32.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ void setup() {
531531
}
532532
fileManager->setServer(&server);
533533
fileManager->begin();
534+
feedback.createUidMappingFile();
534535
}
535536

536537
void loop() {

0 commit comments

Comments
 (0)