mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-23 19:01:30 +11:00
Merge #85
85: Add __IRQ_HANDLER from hello_magic.rs to setup doc r=Lokathor a=Dhs92 Looks like the docs weren't updated when the example was. Co-authored-by: Alex <forehand.alex@gmail.com>
This commit is contained in:
commit
898fbdadd0
|
@ -169,6 +169,11 @@ fn main(_argc: isize, _argv: *const *const u8) -> isize {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue