aboutsummaryrefslogtreecommitdiff
path: root/examples/t-idle-main.rs
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2020-09-25 13:36:00 +0000
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2020-09-25 14:33:08 +0000
commitabc50d2c58ef3470c67269a93a7f31fcd36bcea4 (patch)
treeea1e91b5b8cce6d25fb5afa2c6dd7dbff609a970 /examples/t-idle-main.rs
parent224e1991e0f4a6eb8d674ba129d8700b3b450d46 (diff)
downloadrtic-abc50d2c58ef3470c67269a93a7f31fcd36bcea4.tar.gz
rtic-abc50d2c58ef3470c67269a93a7f31fcd36bcea4.tar.zst
rtic-abc50d2c58ef3470c67269a93a7f31fcd36bcea4.zip
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-idle-main.rs')
-rw-r--r--examples/t-idle-main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/t-idle-main.rs b/examples/t-idle-main.rs
index 8400f314..03a52cb2 100644
--- a/examples/t-idle-main.rs
+++ b/examples/t-idle-main.rs
@@ -12,7 +12,7 @@ mod app {
fn init(_: init::Context) {}
#[idle]
- fn main(_: main::Context) -> ! {
+ fn taskmain(_: taskmain::Context) -> ! {
debug::exit(debug::EXIT_SUCCESS);
loop {
cortex_m::asm::nop();