diff options
author | 2020-05-19 18:00:13 +0000 | |
---|---|---|
committer | 2020-09-25 14:29:34 +0000 | |
commit | 5cfd9b92384a6e2d352e35de9da1b7a2b53cc2ea (patch) | |
tree | ec271ee6f0e88df4ba3294f99bef817c07e683cd /examples/periodic.rs | |
parent | c718413cb56f9c25d79c71e607079561923b1a05 (diff) | |
download | rtic-5cfd9b92384a6e2d352e35de9da1b7a2b53cc2ea.tar.gz rtic-5cfd9b92384a6e2d352e35de9da1b7a2b53cc2ea.tar.zst rtic-5cfd9b92384a6e2d352e35de9da1b7a2b53cc2ea.zip |
Modules using lower-case in examples
Diffstat (limited to 'examples/periodic.rs')
-rw-r--r-- | examples/periodic.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/periodic.rs b/examples/periodic.rs index cd887ca5..2d4c73b5 100644 --- a/examples/periodic.rs +++ b/examples/periodic.rs @@ -13,7 +13,8 @@ const PERIOD: u32 = 8_000_000; // NOTE: does NOT work on QEMU! #[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT)] -mod APP { +mod app { + #[init(schedule = [foo])] fn init(cx: init::Context) { // omitted: initialization of `CYCCNT` |