Fix UI error, use paged updates for EPDs

This commit is contained in:
Djuri 2023-11-08 20:29:06 +01:00
parent 902b35d11e
commit 0541a7759f
13 changed files with 225 additions and 100 deletions

View file

@ -1,6 +1,8 @@
#include "Arduino.h"
#include "lib/config.hpp"
//char ptrTaskList[400];
extern "C" void app_main()
{
initArduino();
@ -10,7 +12,15 @@ extern "C" void app_main()
while (true)
{
eventSourceLoop();
vTaskDelay(pdMS_TO_TICKS(2500));
// vTaskList(ptrTaskList);
// Serial.println(F("**********************************"));
// Serial.println(F("Task State Prio Stack Num"));
// Serial.println(F("**********************************"));
// Serial.print(ptrTaskList);
// Serial.println(F("**********************************"));
if (eventSourceTaskHandle != NULL)
xTaskNotifyGive(eventSourceTaskHandle);
vTaskDelay(pdMS_TO_TICKS(5000));
}
}