From 976aca47810ac9982fe56d320d713ca291078020 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Wed, 4 Nov 2020 02:31:08 +0200 Subject: [PATCH] more fixes --- .github/scripts/install-platformio-esp32.sh | 2 +- libraries/BLE/src/BLEUUID.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/install-platformio-esp32.sh b/.github/scripts/install-platformio-esp32.sh index 932bbd1e..d83859c9 100755 --- a/.github/scripts/install-platformio-esp32.sh +++ b/.github/scripts/install-platformio-esp32.sh @@ -13,7 +13,7 @@ echo "Installing Platform ESP32 ..." python -m platformio platform install $PLATFORMIO_ESP32_URL > /dev/null 2>&1 echo "Replacing the framework version ..." -python -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/espressif32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-arduinoespressif32']['version'] = '*'; del data['packages']['framework-arduinoespressif32']['owner']; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()" +python -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/espressif32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-arduinoespressif32']['version'] = '*'; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()" if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then echo "Linking Core..." diff --git a/libraries/BLE/src/BLEUUID.h b/libraries/BLE/src/BLEUUID.h index 700739be..01acb161 100644 --- a/libraries/BLE/src/BLEUUID.h +++ b/libraries/BLE/src/BLEUUID.h @@ -8,9 +8,9 @@ #ifndef COMPONENTS_CPP_UTILS_BLEUUID_H_ #define COMPONENTS_CPP_UTILS_BLEUUID_H_ #include "sdkconfig.h" +#include #if defined(CONFIG_BT_ENABLED) #include -#include /** * @brief A model of a %BLE UUID.