diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2020-04-22 11:48:36 +0000 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2020-09-25 14:29:34 +0000 |
| commit | 79b62797f549a71531bf5ede39cc6695871b7251 (patch) | |
| tree | 2e739d834b62e747c46ed7ddd7878fa3b4048086 /ui/single/task-priority-too-high.rs | |
| parent | 8df2ec11b0ee3209678dcc1b1a5baa479fa1dfe5 (diff) | |
Update the test suite to use mod instead of const
Changes MSRV to 1.42, failing tests updated to match 1.42.
Diffstat (limited to 'ui/single/task-priority-too-high.rs')
| -rw-r--r-- | ui/single/task-priority-too-high.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/single/task-priority-too-high.rs b/ui/single/task-priority-too-high.rs index 539c3f5..ed7dd86 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)] -const APP: () = { +mod APP { #[init] fn init(_: init::Context) {} @@ -35,4 +35,4 @@ const APP: () = { // this value is too high! #[task(binds = I2C0, priority = 9)] fn i2c0(_: i2c0::Context) {} -}; +} |
