soc: stm32 decrease ticks per sec if sysclock is not LPTIM

Reduce the ticks per sec when the sysclock is low and
not LPTIM.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
1 file changed