Skip to content

Commit

Permalink
fix: loading wrong system config
Browse files Browse the repository at this point in the history
  • Loading branch information
DriftKingTW committed Mar 23, 2023
1 parent 93ffe19 commit 46d1d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ void setup() {
keyConfigJSON = loadJSONFileAsString("keyconfig");

StaticJsonDocument<256> doc;
String configJSON = loadJSONFileAsString("config");
String configJSON = loadJSONFileAsString("system");
deserializeJson(doc, configJSON);
String address = doc["currentActiveDeviceAddress"];
currentActiveDeviceAddress = address;
Expand Down

0 comments on commit 46d1d04

Please sign in to comment.