feat: persistent settings in LittleFS JSON
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
5c96cfc1f3
commit
4e53e7388f
3 files changed
+76
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
|
||||
struct AppSettings {
|
||||
float altitudeM;
|
||||
int tzOffsetMin;
|
||||
float lat;
|
||||
float lon;
|
||||
};
|
||||
|
||||
extern AppSettings settings;
|
||||
|
||||
void settingsBegin();
|
||||
bool settingsSave();
|
||||
void settingsDefaults();
|
||||
Reference in new issue
Block a user