Fix clippy lint
clippy::inconsistent-struct-constructor
@@ -19,7 +19,7 @@ impl Delay {
pub fn new(mut syst: SYST, clocks: Clocks) -> Self {
syst.set_clock_source(SystClkSource::Core);
- Delay { syst, clocks }
+ Delay { clocks, syst }
}
/// Releases the system timer (SysTick) resource
