diff options
| author | Yandrik <me@yandrik.dev> | 2023-03-15 14:33:29 +0100 |
|---|---|---|
| committer | Yandrik <me@yandrik.dev> | 2023-03-15 14:33:29 +0100 |
| commit | f2643a00764955138f88943b7f40c12a16ef4740 (patch) | |
| tree | 9348b393ee3e4ef788e6ea9c1c01744320143e38 | |
| parent | 534d42edf5505950a87f2621df883ceac4957156 (diff) | |
fix(rtic-sync): used fully qualified paths in Channel Macro
| -rw-r--r-- | rtic-sync/src/channel.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtic-sync/src/channel.rs b/rtic-sync/src/channel.rs index 8a817c8..aad0280 100644 --- a/rtic-sync/src/channel.rs +++ b/rtic-sync/src/channel.rs @@ -102,7 +102,7 @@ impl<T, const N: usize> Channel<T, N> { #[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. |
