Add RFID page, change order
This commit is contained in:
@@ -156,6 +156,20 @@ void loadSettings() {
|
||||
preferences.end();
|
||||
}
|
||||
|
||||
void saveWifiSettings() {
|
||||
preferences.begin("wifi", false);
|
||||
preferences.putString("ssid", ssidSTA);
|
||||
preferences.putString("password", passwordSTA);
|
||||
preferences.end();
|
||||
}
|
||||
|
||||
void loadWifiSettings() {
|
||||
preferences.begin("wifi", true);
|
||||
ssidSTA = preferences.getString("ssid", "").c_str();
|
||||
passwordSTA = preferences.getString("password", "").c_str();
|
||||
preferences.end();
|
||||
}
|
||||
|
||||
int checkLicence() {
|
||||
loadLicenceFromPrefs();
|
||||
String id = getUniqueDeviceID();
|
||||
|
||||
Reference in New Issue
Block a user