Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcu/nrf51: Fix low frequency clock selection #3161

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Mar 8, 2024

When XTAL_32768/XTAL_RC/XTAL_32768_SYNTH were deprecated and MCU_LFCLK_SOURCE was chosen to be used instead, code that actually enabled clocks still depended on syscfg values that were never set.

This only changes preprocessor conditions to use MCU_LFCLK_SEOURCE.

When XTAL_32768/XTAL_RC/XTAL_32768_SYNTH were deprecated
and MCU_LFCLK_SOURCE was chosen to be used instead, code
that actually enabled clocks still depended on syscfg values
that were never set.

This only changes preprocessor conditions to use MCU_LFCLK_SEOURCE.
@kasjer kasjer requested a review from sjanc March 8, 2024 09:30
Copy link
Contributor

@sjanc sjanc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested, works OK!

@kasjer kasjer merged commit fbff3aa into apache:master Mar 8, 2024
17 checks passed
@kasjer kasjer deleted the kasjer/nrf51-lfclock-fix branch March 8, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants