Skip to content

Commit 8fd9e8f

Browse files
committed
Set device revision default to 0
Not currently used in new ESP32 setups but will be for later BLE work. Reset to 0 with new arch
1 parent 92aa835 commit 8fd9e8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sp140/extra-data.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void refreshDeviceData() {
105105
deviceData.performance_mode = preferences.getUChar(KEY_PERFORMANCE_MODE, DEFAULT_PERFORMANCE_MODE);
106106
deviceData.theme = preferences.getUChar(KEY_THEME, DEFAULT_THEME);
107107
deviceData.armed_time = preferences.getUShort(KEY_ARMED_TIME, 0);
108-
deviceData.revision = preferences.getUChar(KEY_REVISION, 3); // Default to ESP32-S3
108+
deviceData.revision = preferences.getUChar(KEY_REVISION, 0); // Default to ESP32-S3
109109
deviceData.timezone_offset = preferences.getInt(KEY_TIMEZONE_OFFSET, 0);
110110

111111
// Validate critical display-related settings
@@ -167,7 +167,7 @@ void resetDeviceData() {
167167
deviceData = STR_DEVICE_DATA_140_V1();
168168

169169
// Set the revision to ESP32-S3
170-
deviceData.revision = 3; // Set appropriate revision for ESP32-S3
170+
deviceData.revision = 0; // Set appropriate revision for ESP32-S3
171171

172172
deviceData.version_major = VERSION_MAJOR;
173173
deviceData.version_minor = VERSION_MINOR;

0 commit comments

Comments
 (0)