aboutsummaryrefslogtreecommitdiff
path: root/ui/single/locals-cfg.rs
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2020-04-22 11:48:36 +0000
committerHenrik Tjäder <henrik@tjaders.com>2020-09-25 14:29:34 +0000
commit79b62797f549a71531bf5ede39cc6695871b7251 (patch)
tree2e739d834b62e747c46ed7ddd7878fa3b4048086 /ui/single/locals-cfg.rs
parent8df2ec11b0ee3209678dcc1b1a5baa479fa1dfe5 (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/locals-cfg.rs')
-rw-r--r--ui/single/locals-cfg.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/single/locals-cfg.rs b/ui/single/locals-cfg.rs
index 54bba8a..5053cf3 100644
--- a/ui/single/locals-cfg.rs
+++ b/ui/single/locals-cfg.rs
@@ -1,7 +1,7 @@
#![no_main]
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod APP {
#[init]
fn init(_: init::Context) {
#[cfg(never)]
@@ -47,4 +47,4 @@ const APP: () = {
extern "C" {
fn UART1();
}
-};
+}