Stop unnecessary services before TFT upload with pre-built versions
This commit is contained in:
@@ -224,6 +224,18 @@ script:
|
||||
ESP_LOGD(TAG, " Upload URL: %s", url.c_str());
|
||||
disp1->set_tft_url(url.c_str());
|
||||
|
||||
#ifdef USE_IMPROV
|
||||
ESP_LOGD(TAG, "Stop Improv BLE");
|
||||
ble_improv->dump_config();
|
||||
ble_improv->stop();
|
||||
ble_improv->dump_config();
|
||||
#endif
|
||||
#ifdef USE_CAPTIVE_PORTAL
|
||||
ESP_LOGD(TAG, "Stop Captive Portal");
|
||||
ap_captive_portal->dump_config();
|
||||
ap_captive_portal->stop();
|
||||
ap_captive_portal->dump_config();
|
||||
#endif
|
||||
#ifdef USE_ESP32_BLE_CLIENT
|
||||
ble_tracker->dump_config();
|
||||
ESP_LOGD(TAG, "Disable BLE");
|
||||
|
||||
@@ -2300,12 +2300,18 @@ script:
|
||||
#ifdef USE_CAPTIVE_PORTAL
|
||||
ESP_LOGCONFIG(TAG, " - Captive portal");
|
||||
#endif
|
||||
#ifdef USE_ESP32_BLE_SERVER
|
||||
ESP_LOGCONFIG(TAG, " - BLE server");
|
||||
#endif
|
||||
#ifdef USE_ESP32_BLE_CLIENT
|
||||
ESP_LOGCONFIG(TAG, " - BLE tracker");
|
||||
#endif
|
||||
#ifdef USE_BLUETOOTH_PROXY
|
||||
ESP_LOGCONFIG(TAG, " - Bluetooth proxy");
|
||||
#endif
|
||||
#ifdef USE_IMPROV
|
||||
ESP_LOGCONFIG(TAG, " - Improv (BLE)");
|
||||
#endif
|
||||
#ifdef USE_WEBSERVER
|
||||
ESP_LOGCONFIG(TAG, " - Web server");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user