[Core] Quantum Painter - LVGL Integration (#18499)

Co-authored-by: Nick Brassel <[email protected]>
This commit is contained in:
jpe230andNick Brassel authored and GitHub committed 2022-12-13 07:51:14 +11:00
1 parent 2d19e59d78
commit 102f22f7e9
24 files changed
+1140 -3

No files matched your search

+12
View File
@@ -399,3 +399,15 @@ void qp_internal_animation_tick(void) {
static uint32_t last_anim_exec = 0;
deferred_exec_advanced_task(animation_executors, QUANTUM_PAINTER_CONCURRENT_ANIMATIONS, &last_anim_exec);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Quantum Painter Core API: qp_internal_task
void qp_internal_task(void) {
qp_internal_animation_tick();
#ifdef QUANTUM_PAINTER_LVGL_INTEGRATION_ENABLE
// Run LVGL ticks
void qp_lvgl_internal_tick(void);
qp_lvgl_internal_tick();
#endif
}