Merge pull request #13948 from barbudor/eq3_fix

BLE EQ3 driver fix compile error
This commit is contained in:
Jason2866 2021-12-07 17:36:54 +01:00 committed by GitHub
commit 15d8c63f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -128,7 +128,6 @@ print("".join(pin))
// for testing of BLE_ESP32, we remove xsns_62_MI_ESP32.ino completely, and instead add this modified xsns_52_ibeacon_BLE_ESP32.ino
#if CONFIG_IDF_TARGET_ESP32
#if ESP_IDF_VERSION <= ESP_IDF_VERSION_VAL(4, 0, 0)
#ifdef USE_EQ3_ESP32
#ifdef ESP32 // ESP32 only. Use define USE_HM10 for ESP8266 support
#ifdef USE_BLE_ESP32
@ -226,7 +225,7 @@ uint8_t pairing = 0;
#define EQ3_NUM_DEVICESLOTS 16
eq3_device_tag EQ3Devices[EQ3_NUM_DEVICESLOTS];
void *EQ3mutex = nullptr;
SemaphoreHandle_t EQ3mutex = nullptr;
int EQ3Period = 300;
uint8_t EQ3OnlyAliased = 0;
@ -1765,5 +1764,4 @@ bool Xdrv85(uint8_t function)
#endif // ESP32
#endif
#endif // ESP_IDF_VERSION <= ESP_IDF_VERSION_VAL(4, 0, 0)
#endif // CONFIG_IDF_TARGET_ESP32