WiFi credential saving on setup

This commit is contained in:
2025-12-18 15:01:25 -06:00
parent 857526a358
commit 3e07f81728
3 changed files with 53 additions and 25 deletions

View File

@@ -7,6 +7,11 @@
#define ccwMax 10
#define cwMax 0
#define nvsWiFi "WiFiCreds"
#define ssidTag "SSID"
#define passTag "PW"
#define authTag "AuthMode"
#define unameTag "UNAME"
#define getMovingCW(port) ((movingCW & (1 << port)) >> port)
#define setMovingCW(port) (movingCW |= (1 << port))