@@ -112,7 +112,7 @@ void BoardInterface::loadSettings() {
|
||||
liveData->settings.pressureUnit = 'b';
|
||||
liveData->settings.defaultScreen = 1;
|
||||
liveData->settings.lcdBrightness = 0;
|
||||
liveData->settings.debugScreen = 0;
|
||||
liveData->settings.sleepModeEnabled = 0;
|
||||
liveData->settings.predrawnChargingGraphs = 1;
|
||||
liveData->settings.commType = COMM_TYPE_OBD2BLE4; // BLE4
|
||||
liveData->settings.wifiEnabled = 0;
|
||||
@@ -161,7 +161,7 @@ void BoardInterface::loadSettings() {
|
||||
liveData->tmpSettings.settingsVersion = 2;
|
||||
liveData->tmpSettings.defaultScreen = liveData->settings.defaultScreen;
|
||||
liveData->tmpSettings.lcdBrightness = liveData->settings.lcdBrightness;
|
||||
liveData->tmpSettings.debugScreen = liveData->settings.debugScreen;
|
||||
liveData->tmpSettings.sleepModeEnabled = liveData->settings.sleepModeEnabled;
|
||||
}
|
||||
if (liveData->tmpSettings.settingsVersion == 2) {
|
||||
liveData->tmpSettings.settingsVersion = 3;
|
||||
|
||||
Reference in New Issue
Block a user