Skip to content
Commit d8b276e9 authored by Keith Packard's avatar Keith Packard Committed by Johan Hedberg
Browse files

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: default avatarKeith Packard <keithp@keithp.com>
parent ea61c8c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment