Merge pull request #146 from dalathegreat/feature/persistent-memory

Feature: Add ability to save parameters to flash
This commit is contained in:
Daniel Öster 2024-02-01 00:20:35 +02:00 committed by GitHub
commit fa9c9125db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 60 additions and 3 deletions

View file

@ -1,7 +1,7 @@
#ifndef WEBSERVER_H
#define WEBSERVER_H
// Load Wi-Fi library
#include <Preferences.h>
#include <WiFi.h>
#include "../../../USER_SETTINGS.h" // Needed for WiFi ssid and password
#include "../../lib/ayushsharma82-ElegantOTA/src/ElegantOTA.h"
@ -136,4 +136,6 @@ void onOTAEnd(bool success);
template <typename T>
String formatPowerValue(String label, T value, String unit, int precision);
extern void storeSettings();
#endif