diff --git a/examples/adc_values.rs b/examples/adc_values.rs index a481970..d28b988 100644 --- a/examples/adc_values.rs +++ b/examples/adc_values.rs @@ -70,7 +70,7 @@ fn main() -> ! { } #[exception] -fn SysTick() -> ! { +fn SysTick() { use core::ops::DerefMut; // Enter critical section diff --git a/examples/flash_systick.rs b/examples/flash_systick.rs index 104a581..89cafb9 100644 --- a/examples/flash_systick.rs +++ b/examples/flash_systick.rs @@ -57,7 +57,7 @@ fn main() -> ! { // Define an exception handler, i.e. function to call when exception occurs. Here, if our SysTick // timer generates an exception the following handler will be called #[exception] -fn SysTick() -> ! { +fn SysTick() { // Exception handler state variable static mut STATE: u8 = 1; diff --git a/examples/flash_systick_fancier.rs b/examples/flash_systick_fancier.rs index 0fd3771..4413693 100644 --- a/examples/flash_systick_fancier.rs +++ b/examples/flash_systick_fancier.rs @@ -60,7 +60,7 @@ fn main() -> ! { // Define an exception handler, i.e. function to call when exception occurs. Here, if our SysTick // timer generates an exception the following handler will be called #[exception] -fn SysTick() -> ! { +fn SysTick() { // Our moved LED pin static mut LED: Option = None;