sys/time_units.h: Make sys_clock_hw_cycles_per_sec() constant if possible
To be used in a global initializer, this must be a macro instead of a
static inline when the return value is constant.
Signed-off-by:
Keith Packard <keithp@keithp.com>
Loading
Please sign in to comment