diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2020-09-25 13:36:00 +0000 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2020-09-25 14:33:08 +0000 |
| commit | abc50d2c58ef3470c67269a93a7f31fcd36bcea4 (patch) | |
| tree | ea1e91b5b8cce6d25fb5afa2c6dd7dbff609a970 /examples/t-init-main.rs | |
| parent | 224e1991e0f4a6eb8d674ba129d8700b3b450d46 (diff) | |
Name collision with RTIC-main
With modules the scoping is different and task names collide with main generated by RTIC
Diffstat (limited to 'examples/t-init-main.rs')
| -rw-r--r-- | examples/t-init-main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/t-init-main.rs b/examples/t-init-main.rs index b4f126b..d081487 100644 --- a/examples/t-init-main.rs +++ b/examples/t-init-main.rs @@ -9,7 +9,7 @@ use panic_semihosting as _; #[rtic::app(device = lm3s6965)] mod app { #[init] - fn main(_: main::Context) { + fn taskmain(_: taskmain::Context) { debug::exit(debug::EXIT_SUCCESS); } } |
