Skip to content

Commit

Permalink
CO2 Gadget Beta v0.12.070-development
Browse files Browse the repository at this point in the history
Update activeOTA preference to use its current value when initializing preferences
  • Loading branch information
melkati committed May 15, 2024
1 parent 372d5bb commit 68071ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CO2_Gadget_Preferences.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void initPreferences() {
activeWIFI = preferences.getBool("activeWIFI", true);
activeMQTT = preferences.getBool("activeMQTT", false);
activeESPNOW = preferences.getBool("activeESPNOW", false);
activeOTA = preferences.getBool("activeOTA", false);
activeOTA = preferences.getBool("activeOTA", activeOTA);
rootTopic = preferences.getString("rootTopic", rootTopic);
mqttClientId = preferences.getString("mqttClientId", mqttClientId);
mqttBroker = preferences.getString("mqttBroker", mqttBroker).c_str();
Expand Down

0 comments on commit 68071ee

Please sign in to comment.