aboutsummaryrefslogtreecommitdiff
path: root/ui/single/exception-systick-used.rs
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2020-04-22 11:48:36 +0000
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2020-09-25 14:29:34 +0000
commit79b62797f549a71531bf5ede39cc6695871b7251 (patch)
tree2e739d834b62e747c46ed7ddd7878fa3b4048086 /ui/single/exception-systick-used.rs
parent8df2ec11b0ee3209678dcc1b1a5baa479fa1dfe5 (diff)
downloadrtic-79b62797f549a71531bf5ede39cc6695871b7251.tar.gz
rtic-79b62797f549a71531bf5ede39cc6695871b7251.tar.zst
rtic-79b62797f549a71531bf5ede39cc6695871b7251.zip
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/exception-systick-used.rs')
-rw-r--r--ui/single/exception-systick-used.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/single/exception-systick-used.rs b/ui/single/exception-systick-used.rs
index 36ed1744..02fd1c6b 100644
--- a/ui/single/exception-systick-used.rs
+++ b/ui/single/exception-systick-used.rs
@@ -1,10 +1,10 @@
#![no_main]
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod APP {
#[task(binds = SysTick)]
fn sys_tick(_: sys_tick::Context) {}
#[task(schedule = [foo])]
fn foo(_: foo::Context) {}
-};
+}