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 4bd0801 commit 3428942Copy full SHA for 3428942
src/delay.rs
@@ -19,7 +19,7 @@ impl Delay {
19
pub fn new(mut syst: SYST, clocks: Clocks) -> Self {
20
syst.set_clock_source(SystClkSource::Core);
21
22
- Delay { syst, clocks }
+ Delay { clocks, syst }
23
}
24
25
/// Releases the system timer (SysTick) resource
0 commit comments