diff options
| -rw-r--r-- | embassy-extras/src/macros.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-extras/src/macros.rs b/embassy-extras/src/macros.rs index 22f93a1d3..a0464378e 100644 --- a/embassy-extras/src/macros.rs +++ b/embassy-extras/src/macros.rs | |||
| @@ -7,6 +7,7 @@ macro_rules! peripherals { | |||
| 7 | #[allow(non_camel_case_types)] | 7 | #[allow(non_camel_case_types)] |
| 8 | pub struct $type { _private: () } | 8 | pub struct $type { _private: () } |
| 9 | 9 | ||
| 10 | $(#[$cfg])? | ||
| 10 | impl embassy::util::Steal for $type { | 11 | impl embassy::util::Steal for $type { |
| 11 | #[inline] | 12 | #[inline] |
| 12 | unsafe fn steal() -> Self { | 13 | unsafe fn steal() -> Self { |
