mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-26 05:29:38 +01:00
systic example for qemu
This commit is contained in:
parent
6c2b02a937
commit
9fdf9955f1
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue