increased sysconbf allocated flash size (safe now bc we alrady have a breaking change that wipes old settings)

This commit is contained in:
2017-09-22 00:33:03 +02:00
parent 3849e161e5
commit 82961568b8
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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
+3
View File
@@ -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
View File
@@ -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 {