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:
bors[bot] 2019-07-30 06:47:07 +00:00
commit 898fbdadd0

View file

@ -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