Closed fermintm closed 2 years ago
hey @fermintm thanks for reporting that :+1:
I've pushed an update to cover that compilation error and will produce a release soon.
Meanwhile it can be fixed by manually replacing the offending macro with this:
#if defined ESP_IDF_VERSION_MAJOR && ESP_IDF_VERSION_MAJOR >= 4
... or by updating ESP32 package to version 2.0, where this new macro was introduced.
Hi! Arduino IDE 1.8.15 and esp32 v1.0.6 or 2.0.0 version same error.
M5StackUpdater.h:152:88: error: missing binary operator before token "("
if defined ESP_ARDUINO_VERSION && ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2,0,0)