Skip to content
Commit 8ab9ac26 authored by David Leach's avatar David Leach
Browse files

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: default avatarDavid Leach <david.leach@nxp.com>
parent 3603b6d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment