From f2643a00764955138f88943b7f40c12a16ef4740 Mon Sep 17 00:00:00 2001 From: Yandrik Date: Wed, 15 Mar 2023 14:33:29 +0100 Subject: [PATCH] fix(rtic-sync): used fully qualified paths in Channel Macro --- rtic-sync/src/channel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtic-sync/src/channel.rs b/rtic-sync/src/channel.rs index 8a817c81ba..aad02801f2 100644 --- a/rtic-sync/src/channel.rs +++ b/rtic-sync/src/channel.rs @@ -102,7 +102,7 @@ impl Channel { #[macro_export] macro_rules! make_channel { ($type:path, $size:expr) => {{ - static mut CHANNEL: Channel<$type, $size> = Channel::new(); + static mut CHANNEL: ::rtic_sync::channel::Channel<$type, $size> = ::rtic_sync::channel::Channel::new(); // SAFETY: This is safe as we hide the static mut from others to access it. // Only this point is where the mutable access happens.