From 46d1d0440406427431df9c5293dcc7eb00fb90d4 Mon Sep 17 00:00:00 2001 From: DriftKingTW Date: Fri, 24 Mar 2023 00:28:28 +0800 Subject: [PATCH] fix: loading wrong system config --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 065840a..3a47d90 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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;