feat(rtthread): add cpu usage support (#6310)
This commit is contained in:
@@ -30,6 +30,14 @@
|
||||
#define LV_USE_STDLIB_SPRINTF LV_STDLIB_RTTHREAD
|
||||
#endif
|
||||
|
||||
/*=========================
|
||||
CPU usage
|
||||
*=========================*/
|
||||
|
||||
#ifdef PKG_USING_CPU_USAGE
|
||||
#define LV_SYSMON_GET_IDLE lv_timer_os_get_idle
|
||||
#endif /* PKG_USING_CPU_USAGE */
|
||||
|
||||
/*=================
|
||||
* OPERATING SYSTEM
|
||||
*=================*/
|
||||
|
||||
Reference in New Issue
Block a user