drivers: counter: mcux_ctimer: fix config used as non-const
The initialization code was updating the freq field in the const
declared config block at runtime because the frequency is not
known at compile time. Add a get_freq() api call to handle any
runtime requests for frequency.
fixes #41953
Signed-off-by:
David Leach <david.leach@nxp.com>
Loading
Please sign in to comment