commit | f1e7a0dd6c727cdcc27d4e356e8a1eefe68f9d7f | [log] [tgz] |
---|---|---|
author | Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl> | Tue Dec 05 14:57:19 2023 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Dec 12 15:03:17 2023 +0100 |
tree | 7ab88cd972b908b5bf59b2f6008f81e4e3c1f346 | |
parent | 1dc43605df780c32ae0d1be2f251465ed21c29cb [diff] |
drivers: clock_control: smartbond: Fix rc32k calibration If RC32K oscillator was on during startup, calibration work was never going to actually calibrate this oscillator. It happen because lpc_clock_state.rc32k_started was only set when oscillator was turned on after if was turned off. Now lpc_clock_state.rc32k_started is also set when rc32k is already started (possible during boot). Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>