diff options
| -rw-r--r-- | embassy-extras/src/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-extras/src/macros.rs b/embassy-extras/src/macros.rs index e8d7a6e3a..9110f2251 100644 --- a/embassy-extras/src/macros.rs +++ b/embassy-extras/src/macros.rs | |||
| @@ -88,7 +88,7 @@ macro_rules! unborrow { | |||
| 88 | #[macro_export] | 88 | #[macro_export] |
| 89 | macro_rules! impl_unborrow { | 89 | macro_rules! impl_unborrow { |
| 90 | ($type:ident) => { | 90 | ($type:ident) => { |
| 91 | impl PeripheralBorrow for $type { | 91 | impl ::embassy::util::PeripheralBorrow for $type { |
| 92 | type Target = $type; | 92 | type Target = $type; |
| 93 | #[inline] | 93 | #[inline] |
| 94 | unsafe fn unborrow(self) -> Self::Target { | 94 | unsafe fn unborrow(self) -> Self::Target { |
| @@ -96,7 +96,7 @@ macro_rules! impl_unborrow { | |||
| 96 | } | 96 | } |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | impl<'a> PeripheralBorrow for &'a mut $type { | 99 | impl<'a> ::embassy::util::PeripheralBorrow for &'a mut $type { |
| 100 | type Target = $type; | 100 | type Target = $type; |
| 101 | #[inline] | 101 | #[inline] |
| 102 | unsafe fn unborrow(self) -> Self::Target { | 102 | unsafe fn unborrow(self) -> Self::Target { |
