can
This commit is contained in:
@@ -1180,7 +1180,7 @@ void Board320_240::redrawScreen() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// BLE not connected
|
// BLE not connected
|
||||||
if (!liveData->bleConnected && liveData->bleConnect) {
|
if (!liveData->bleConnected && liveData->bleConnect && liveData->tmpSettings.commType == COMM_TYPE_OBD2BLE4) {
|
||||||
// Print message
|
// Print message
|
||||||
spr.setTextSize(1);
|
spr.setTextSize(1);
|
||||||
spr.setTextColor(TFT_WHITE, TFT_BLACK);
|
spr.setTextColor(TFT_WHITE, TFT_BLACK);
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ void BoardInterface::loadSettings() {
|
|||||||
liveData->settings.lcdBrightness = 0;
|
liveData->settings.lcdBrightness = 0;
|
||||||
liveData->settings.debugScreen = 0;
|
liveData->settings.debugScreen = 0;
|
||||||
liveData->settings.predrawnChargingGraphs = 1;
|
liveData->settings.predrawnChargingGraphs = 1;
|
||||||
liveData->settings.commType = 0; // BLE4
|
liveData->settings.commType = COMM_TYPE_OBD2BLE4; // BLE4
|
||||||
liveData->settings.wifiEnabled = 0;
|
liveData->settings.wifiEnabled = 0;
|
||||||
tmpStr = "empty";
|
tmpStr = "empty";
|
||||||
tmpStr.toCharArray(liveData->settings.wifiSsid, tmpStr.length() + 1);
|
tmpStr.toCharArray(liveData->settings.wifiSsid, tmpStr.length() + 1);
|
||||||
@@ -164,7 +164,7 @@ void BoardInterface::loadSettings() {
|
|||||||
}
|
}
|
||||||
if (liveData->tmpSettings.settingsVersion == 3) {
|
if (liveData->tmpSettings.settingsVersion == 3) {
|
||||||
liveData->tmpSettings.settingsVersion = 4;
|
liveData->tmpSettings.settingsVersion = 4;
|
||||||
liveData->tmpSettings.commType = 0; // BLE4
|
liveData->tmpSettings.commType = COMM_TYPE_OBD2BLE4; // BLE4
|
||||||
liveData->tmpSettings.wifiEnabled = 0;
|
liveData->tmpSettings.wifiEnabled = 0;
|
||||||
tmpStr = "empty";
|
tmpStr = "empty";
|
||||||
tmpStr.toCharArray(liveData->tmpSettings.wifiSsid, tmpStr.length() + 1);
|
tmpStr.toCharArray(liveData->tmpSettings.wifiSsid, tmpStr.length() + 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user