From 96df0a33b1096e807bdd15713b10c2f3fa39395c Mon Sep 17 00:00:00 2001 From: Henrik Tjäder Date: Thu, 4 Jun 2020 15:24:21 +0000 Subject: All examples use #[resources] attribute --- examples/cfg.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/cfg.rs') diff --git a/examples/cfg.rs b/examples/cfg.rs index 16e6e077..f4848302 100644 --- a/examples/cfg.rs +++ b/examples/cfg.rs @@ -12,6 +12,7 @@ use panic_semihosting as _; #[rtic::app(device = lm3s6965)] mod app { + #[resources] struct Resources { #[cfg(debug_assertions)] // <- `true` when using the `dev` profile #[init(0)] -- cgit v1.2.3