diff options
author | 2018-11-04 18:50:42 +0100 | |
---|---|---|
committer | 2018-11-04 18:50:42 +0100 | |
commit | 37a0692a0fe5d9b41b65728d496b6856a1152dcc (patch) | |
tree | beb91d9c1caa0fb5e16e61236b6b92739766edd2 /examples/capacity.rs | |
parent | 16d473a9b6827aa7ffa9ce92e4e532eff9a091d2 (diff) | |
download | rtic-37a0692a0fe5d9b41b65728d496b6856a1152dcc.tar.gz rtic-37a0692a0fe5d9b41b65728d496b6856a1152dcc.tar.zst rtic-37a0692a0fe5d9b41b65728d496b6856a1152dcc.zip |
impl Mutex on all shared resources
document how to write generic code that operates on resources
Diffstat (limited to 'examples/capacity.rs')
-rw-r--r-- | examples/capacity.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/capacity.rs b/examples/capacity.rs index 2dea2c30..fca7fe2b 100644 --- a/examples/capacity.rs +++ b/examples/capacity.rs @@ -23,7 +23,7 @@ macro_rules! println { #[app(device = lm3s6965)] const APP: () = { - #[init(spawn = [foo])] + #[init] fn init() { rtfm::pend(Interrupt::UART0); } |