Mutex Serial Access
This commit is contained in:
parent
1ecd97d821
commit
29171e2a01
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue