increased sysconbf allocated flash size (safe now bc we alrady have a breaking change that wipes old settings)
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@
|
||||
|
||||
// Changing this could be used to force-erase the config area
|
||||
// after a firmware upgrade
|
||||
#define CHECKSUM_SALT 4
|
||||
#define CHECKSUM_SALT 5
|
||||
|
||||
#define APPCONF_SIZE 1900
|
||||
|
||||
|
||||
@@ -33,4 +33,7 @@ sysconf_restore_defaults(void)
|
||||
sysconf->uart_parity = PARITY_NONE;
|
||||
sysconf->uart_baudrate = BIT_RATE_115200;
|
||||
sysconf->uart_stopbits = ONE_STOP_BIT;
|
||||
sysconf->config_version = SYSCONF_VERSION;
|
||||
sysconf->access_pw[0] = 0;
|
||||
sysconf->pwlock = PWLOCK_NONE;
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
|
||||
// Size designed for the wifi config structure
|
||||
// Must be constant to avoid corrupting user config after upgrade
|
||||
#define SYSCONF_SIZE 200
|
||||
#define SYSCONF_SIZE 300
|
||||
#define SYSCONF_VERSION 1
|
||||
|
||||
enum pwlock {
|
||||
|
||||
Reference in New Issue
Block a user