diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2020-05-19 18:00:13 +0000 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2020-09-25 14:29:34 +0000 |
| commit | 5cfd9b92384a6e2d352e35de9da1b7a2b53cc2ea (patch) | |
| tree | ec271ee6f0e88df4ba3294f99bef817c07e683cd /ui/single | |
| parent | c718413cb56f9c25d79c71e607079561923b1a05 (diff) | |
Modules using lower-case in examples
Diffstat (limited to 'ui/single')
| -rw-r--r-- | ui/single/exception-invalid.rs | 2 | ||||
| -rw-r--r-- | ui/single/exception-systick-used.rs | 2 | ||||
| -rw-r--r-- | ui/single/extern-interrupt-not-enough.rs | 2 | ||||
| -rw-r--r-- | ui/single/extern-interrupt-used.rs | 2 | ||||
| -rw-r--r-- | ui/single/locals-cfg.rs | 2 | ||||
| -rw-r--r-- | ui/single/resources-cfg.rs | 2 | ||||
| -rw-r--r-- | ui/single/task-priority-too-high.rs | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/ui/single/exception-invalid.rs b/ui/single/exception-invalid.rs index 9b6b001..04d9bc7 100644 --- a/ui/single/exception-invalid.rs +++ b/ui/single/exception-invalid.rs @@ -1,7 +1,7 @@ #![no_main] #[rtic::app(device = lm3s6965)] -mod APP { +mod app { #[task(binds = NonMaskableInt)] fn nmi(_: nmi::Context) {} } diff --git a/ui/single/exception-systick-used.rs b/ui/single/exception-systick-used.rs index 02fd1c6..1c30b70 100644 --- a/ui/single/exception-systick-used.rs +++ b/ui/single/exception-systick-used.rs @@ -1,7 +1,7 @@ #![no_main] #[rtic::app(device = lm3s6965)] -mod APP { +mod app { #[task(binds = SysTick)] fn sys_tick(_: sys_tick::Context) {} diff --git a/ui/single/extern-interrupt-not-enough.rs b/ui/single/extern-interrupt-not-enough.rs index 18850d8..f262403 100644 --- a/ui/single/extern-interrupt-not-enough.rs +++ b/ui/single/extern-interrupt-not-enough.rs @@ -1,7 +1,7 @@ #![no_main] #[rtic::app(device = lm3s6965)] -mod APP { +mod app { #[task] fn a(_: a::Context) {} } diff --git a/ui/single/extern-interrupt-used.rs b/ui/single/extern-interrupt-used.rs index dd79843..89c2378 100644 --- a/ui/single/extern-interrupt-used.rs +++ b/ui/single/extern-interrupt-used.rs @@ -1,7 +1,7 @@ #![no_main] #[rtic::app(device = lm3s6965)] -mod APP { +mod app { #[task(binds = UART0)] fn a(_: a::Context) {} diff --git a/ui/single/locals-cfg.rs b/ui/single/locals-cfg.rs index 5053cf3..7ec46ac 100644 --- a/ui/single/locals-cfg.rs +++ b/ui/single/locals-cfg.rs @@ -1,7 +1,7 @@ #![no_main] #[rtic::app(device = lm3s6965)] -mod APP { +mod app { #[init] fn init(_: init::Context) { #[cfg(never)] diff --git a/ui/single/resources-cfg.rs b/ui/single/resources-cfg.rs index fd03f58..e41ce42 100644 --- a/ui/single/resources-cfg.rs +++ b/ui/single/resources-cfg.rs @@ -1,7 +1,7 @@ #![no_main] #[rtic::app(device = lm3s6965)] -mod APP { +mod app { struct Resources { #[cfg(never)] #[init(0)] diff --git a/ui/single/task-priority-too-high.rs b/ui/single/task-priority-too-high.rs index ed7dd86..c01d685 100644 --- a/ui/single/task-priority-too-high.rs +++ b/ui/single/task-priority-too-high.rs @@ -3,7 +3,7 @@ use rtic::app; #[rtic::app(device = lm3s6965)] -mod APP { +mod app { #[init] fn init(_: init::Context) {} |
