systic example for qemu

This commit is contained in:
Per Lindgren 2020-09-29 23:11:40 +02:00
parent 6c2b02a937
commit 9fdf9955f1

View file

@ -14,7 +14,7 @@ const APP: () = {
#[init] #[init]
fn init(cx: init::Context) { fn init(cx: init::Context) {
let mut syst = cx.core.SYST; let mut syst = cx.core.SYST;
syst.set_reload(1000); syst.set_reload(10000);
syst.enable_interrupt(); syst.enable_interrupt();
syst.enable_counter(); syst.enable_counter();