mirror of
https://github.com/italicsjenga/gba.git
synced 2025-01-23 07:56:33 +11:00
Add __IRQ_HANDLER from hello_magic.rs to setup doc
Looks like the docs weren't updated when the example was.
This commit is contained in:
parent
f66ccba442
commit
478b0ecb0e
1 changed files with 5 additions and 0 deletions
|
@ -169,6 +169,11 @@ fn main(_argc: isize, _argv: *const *const u8) -> isize {
|
||||||
loop {}
|
loop {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[no_mangle]
|
||||||
|
static __IRQ_HANDLER: extern "C" fn() = irq_handler;
|
||||||
|
|
||||||
|
extern "C" fn irq_handler() {}
|
||||||
```
|
```
|
||||||
|
|
||||||
Throw that into your project skeleton, build the program, and give it a run in
|
Throw that into your project skeleton, build the program, and give it a run in
|
||||||
|
|
Loading…
Add table
Reference in a new issue