Skip to content
Snippets Groups Projects
Commit d9d0252a authored by Jorge Aparicio's avatar Jorge Aparicio
Browse files

adapt to changes in cortex-m

parent 28e8f984
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ pub struct Delay {
impl Delay {
/// Configures the system timer (SysTick) as a delay provider
pub fn new(syst: SYST, clocks: Clocks) -> Self {
pub fn new(mut syst: SYST, clocks: Clocks) -> Self {
syst.set_clock_source(SystClkSource::Core);
Delay { syst, clocks }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment