Skip to content

Commit

Permalink
fixed build errors and warnings, updated libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Kolb committed Nov 6, 2022
1 parent a0a5e2d commit 53833b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 6 additions & 4 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
; https://docs.platformio.org/page/projectconf.html

[env:esp32doit-devkit-v1]
platform = espressif32
platform = espressif32@3.5.0
board = esp32doit-devkit-v1

framework = arduino
monitor_speed = 115200
lib_deps =
me-no-dev/ESP Async WebServer@^1.2.3
ayushsharma82/AsyncElegantOTA@^2.2.6
ayushsharma82/AsyncElegantOTA@^2.2.7
knolleary/PubSubClient@^2.8
adafruit/Adafruit Fingerprint Sensor Library@^2.0.7
adafruit/Adafruit Fingerprint Sensor Library@^2.1.0
intrbiz/Crypto@^1.0.0
lib_ldf_mode = deep
lib_ldf_mode = deep+
#build_flags = -D CUSTOM_GPIOS #uncomment this line if you'd like to enable customgpio support
2 changes: 2 additions & 0 deletions src/SettingsManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ bool SettingsManager::loadWifiSettings() {
wifiSettings.password = preferences.getString("password", String(""));
wifiSettings.hostname = preferences.getString("hostname", String("FingerprintDoorbell"));
preferences.end();
return true;
} else {
return false;
}
Expand All @@ -25,6 +26,7 @@ bool SettingsManager::loadAppSettings() {
appSettings.sensorPairingCode = preferences.getString("pairingCode", "");
appSettings.sensorPairingValid = preferences.getBool("pairingValid", false);
preferences.end();
return true;
} else {
return false;
}
Expand Down

0 comments on commit 53833b0

Please sign in to comment.