diff --git a/src/lgfx/v1/platforms/esp32/common.cpp b/src/lgfx/v1/platforms/esp32/common.cpp index 0b98ddb2..3e71dcf8 100644 --- a/src/lgfx/v1/platforms/esp32/common.cpp +++ b/src/lgfx/v1/platforms/esp32/common.cpp @@ -715,7 +715,7 @@ namespace lgfx }; cpp::result state; - xSemaphoreHandle mtx = nullptr; + SemaphoreHandle_t mtx = nullptr; void lock(uint32_t msec = portMAX_DELAY) { if (mtx == nullptr) {