C++ conversions (#111)
* Remove version from artifact name * Target C++ 20 and higher * Use cpp string * Better crash implementation * String utils in cpp style * Replace parameter methods with start() method * MutexType to Mutex::Type * Kernel c to cpp style * Cleanup event flag * More cpp conversions * Test fixes * Updated ideas docs
This commit is contained in:
committed by
GitHub
parent
d52fe52d96
commit
42e843b463
@@ -11,8 +11,8 @@
|
||||
#define TAG "lvgl_task"
|
||||
|
||||
// Mutex for LVGL drawing
|
||||
static tt::Mutex lvgl_mutex(tt::MutexTypeRecursive);
|
||||
static tt::Mutex task_mutex(tt::MutexTypeRecursive);
|
||||
static tt::Mutex lvgl_mutex(tt::Mutex::TypeRecursive);
|
||||
static tt::Mutex task_mutex(tt::Mutex::TypeRecursive);
|
||||
|
||||
static uint32_t task_max_sleep_ms = 10;
|
||||
// Mutex for LVGL task state (to modify task_running state)
|
||||
|
||||
@@ -17,7 +17,7 @@ static bool initBoot() {
|
||||
TT_UNUSED static void deinitPower() {
|
||||
lvgl_task_interrupt();
|
||||
while (lvgl_task_is_running()) {
|
||||
tt::delay_ms(10);
|
||||
tt::kernel::delayMillis(10);
|
||||
}
|
||||
|
||||
#if LV_ENABLE_GC || !LV_MEM_CUSTOM
|
||||
|
||||
Reference in New Issue
Block a user