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:
Stuart Ianna 2024-05-22 08:26:48 +10:00 committed by Xiang Xiao
parent 44ef021bc5
commit 42865caebd

View File

@ -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