We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a1423 commit 3b794cbCopy full SHA for 3b794cb
esp-hal/src/timer/timg.rs
@@ -144,6 +144,15 @@ impl TimerGroupInstance for TIMG0<'_> {
144
}
145
146
fn configure_src_clk() {
147
+ #[cfg(soc_has_clock_node_timg0_function_clock)]
148
+ crate::soc::clocks::ClockTree::with(|clocks| {
149
+ crate::soc::clocks::configure_timg0_function_clock(
150
+ clocks,
151
+ crate::soc::clocks::Timg0FunctionClockConfig::Pll40m,
152
+ );
153
+ crate::soc::clocks::request_timg0_function_clock(clocks);
154
+ });
155
+
156
cfg_if::cfg_if! {
157
if #[cfg(not(timergroup_default_clock_source_is_set))] {
158
// Clock source is not configurable
0 commit comments