feat(osal): add lv_os_get_idle_percent for linux (#7632)
Co-authored-by: Liam <30486941+liamHowatt@users.noreply.github.com>
This commit is contained in:
@@ -969,7 +969,7 @@
|
||||
#define LV_USE_SYSMON 0
|
||||
#if LV_USE_SYSMON
|
||||
/** Get the idle percentage. E.g. uint32_t my_get_idle(void); */
|
||||
#define LV_SYSMON_GET_IDLE lv_timer_get_idle
|
||||
#define LV_SYSMON_GET_IDLE lv_os_get_idle_percent
|
||||
|
||||
/** 1: Show CPU usage and FPS count.
|
||||
* - Requires `LV_USE_SYSMON = 1` */
|
||||
|
||||
Reference in New Issue
Block a user