mirror of
https://github.com/apache/nuttx.git
synced 2026-05-11 16:01:03 +08:00
nuttx/arch.h: Update parameter type to match definition.
The definition of nxsched_process_cpuload_ticks uses clock_t, which is portable across uint32_t and uint64_t timers, and works if CONFIG_SYSTEM_TIME64 is defined.
This commit is contained in:
@@ -2544,7 +2544,7 @@ void nxsched_alarm_tick_expiration(clock_t ticks);
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SCHED_CPULOAD_EXTCLK
|
||||
void nxsched_process_cpuload_ticks(uint32_t ticks);
|
||||
void nxsched_process_cpuload_ticks(clock_t ticks);
|
||||
# define nxsched_process_cpuload() nxsched_process_cpuload_ticks(1)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user