systick returns, so should be marked as such.
This commit is contained in:
parent
31b63ed92d
commit
51d7c76ee8
|
@ -70,7 +70,7 @@ fn main() -> ! {
|
|||
}
|
||||
|
||||
#[exception]
|
||||
fn SysTick() -> ! {
|
||||
fn SysTick() {
|
||||
use core::ops::DerefMut;
|
||||
|
||||
// Enter critical section
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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<LEDPIN> = None;
|
||||
|
||||
|
|
Loading…
Reference in New Issue