Skip to content

Conversation

@bugadani
Copy link
Contributor

cc #4502

Peripheral clocks were not taken into account while counting clock signal users. This lead to incorrectly optimizing away some refcounts.

Comment on lines +704 to +706
xtal32k_clk_refcount: u32,
rc_slow_clk_refcount: u32,
rc_fast_div_clk_refcount: u32,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are all possible TIMGn calibration clock sources, which means the system no longer turns these clocks off after calibration if they are otherwise still in use.

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.

1 participant