Re-implement Core2 and other improvements (#141)

- Create real drivers instead of wrapping M5Unified/M5GFX
- Display HAL improvements (better default base class behaviour)
- Fixed bug with LVGL statusbar service locking (would hang indefinitely waiting for mutex, causing WDT issues)
- Fixes for `Critical.h`
- Fixes and improvements for `Dispatcher` and `DispatcherThread`
This commit is contained in:
Ken Van Hoeylandt
2024-12-30 14:17:47 +01:00
committed by GitHub
parent 50bd6e8bf6
commit 9581978fc7
34 changed files with 1223 additions and 77 deletions
-4
View File
@@ -61,7 +61,6 @@ TtStatus Mutex::acquire(uint32_t timeout) const {
} else {
return TtStatusOk;
}
break;
case TypeRecursive:
if (xSemaphoreTakeRecursive(semaphore, timeout) != pdPASS) {
if (timeout != 0U) {
@@ -72,7 +71,6 @@ TtStatus Mutex::acquire(uint32_t timeout) const {
} else {
return TtStatusOk;
}
break;
default:
tt_crash("mutex type unknown/corrupted");
}
@@ -90,7 +88,6 @@ TtStatus Mutex::release() const {
} else {
return TtStatusOk;
}
break;
}
case TypeRecursive:
if (xSemaphoreGiveRecursive(semaphore) != pdPASS) {
@@ -98,7 +95,6 @@ TtStatus Mutex::release() const {
} else {
return TtStatusOk;
}
break;
default:
tt_crash("mutex type unknown/corrupted");
}