|
|
@ -110,13 +110,9 @@ void DisplayApp::DisplayOtaProgress(uint8_t percent, uint16_t color) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void DisplayApp::PushMessage(Display::Messages msg) {
|
|
|
|
void DisplayApp::PushMessage(Display::Messages msg) {
|
|
|
|
BaseType_t xHigherPriorityTaskWoken;
|
|
|
|
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
|
|
|
|
xHigherPriorityTaskWoken = pdFALSE;
|
|
|
|
|
|
|
|
xQueueSendFromISR(msgQueue, &msg, &xHigherPriorityTaskWoken);
|
|
|
|
xQueueSendFromISR(msgQueue, &msg, &xHigherPriorityTaskWoken);
|
|
|
|
if (xHigherPriorityTaskWoken) {
|
|
|
|
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
|
|
|
|
/* Actual macro used here is port specific. */
|
|
|
|
|
|
|
|
// TODO : should I do something here?
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void DisplayApp::Register(Pinetime::System::SystemTask* /*systemTask*/) {
|
|
|
|
void DisplayApp::Register(Pinetime::System::SystemTask* /*systemTask*/) {
|
|
|
|