diff --git a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ESPMegaDisplay.cpp b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ESPMegaDisplay.cpp index f1135cd..5110b9e 100644 --- a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ESPMegaDisplay.cpp +++ b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/ESPMegaDisplay.cpp @@ -508,6 +508,7 @@ void ESPMegaDisplay::reset() */ ESPMegaDisplay::ESPMegaDisplay(HardwareSerial *displayAdapter) { + this->serialMutex = xSemaphoreCreateMutex(); this->displayAdapter = displayAdapter; this->currentPage = 0; this->rx_buffer_index = 0;