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

fix the example

parent 2415a640
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ app! { ...@@ -35,7 +35,7 @@ app! {
idle: { idle: {
// Test that late resources can be used in idle // Test that late resources can be used in idle
resources: [IP_ADDRESS], resources: [IP_ADDRESS],
} },
tasks: { tasks: {
SYS_TICK: { SYS_TICK: {
...@@ -76,7 +76,7 @@ fn sys_tick(_t: &mut Threshold, r: SYS_TICK::Resources) { ...@@ -76,7 +76,7 @@ fn sys_tick(_t: &mut Threshold, r: SYS_TICK::Resources) {
fn exti0(_t: &mut Threshold, _r: EXTI0::Resources) {} fn exti0(_t: &mut Threshold, _r: EXTI0::Resources) {}
fn idle() -> ! { fn idle(_t: &mut Threshold, _r: idle::Resources) -> ! {
loop { loop {
rtfm::wfi(); rtfm::wfi();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment