From abc50d2c58ef3470c67269a93a7f31fcd36bcea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Fri, 25 Sep 2020 13:36:00 +0000 Subject: Name collision with RTIC-main With modules the scoping is different and task names collide with main generated by RTIC --- examples/t-idle-main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/t-idle-main.rs') diff --git a/examples/t-idle-main.rs b/examples/t-idle-main.rs index 8400f31..03a52cb 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(); -- cgit v1.2.3