diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-05-11 03:04:59 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-05-17 00:57:20 +0200 |
| commit | bd9589d0ce71a2aa41c9fdf439d6de6349a09d83 (patch) | |
| tree | bed94fa0d977604b1f9cbcb09d27b44791aca404 /embassy-macros | |
| parent | cd4111736c0384b1ef957df7f6aa51e3727c29b2 (diff) | |
nrf: add support for nrf52805, nrf52811, nrf52820
Diffstat (limited to 'embassy-macros')
| -rw-r--r-- | embassy-macros/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-macros/src/lib.rs b/embassy-macros/src/lib.rs index 64411f5b4..ce643ae89 100644 --- a/embassy-macros/src/lib.rs +++ b/embassy-macros/src/lib.rs | |||
| @@ -130,7 +130,7 @@ pub fn interrupt_declare(item: TokenStream) -> TokenStream { | |||
| 130 | let result = quote! { | 130 | let result = quote! { |
| 131 | #[allow(non_camel_case_types)] | 131 | #[allow(non_camel_case_types)] |
| 132 | pub struct #name_interrupt(()); | 132 | pub struct #name_interrupt(()); |
| 133 | unsafe impl Interrupt for #name_interrupt { | 133 | unsafe impl ::embassy::interrupt::Interrupt for #name_interrupt { |
| 134 | type Priority = crate::interrupt::Priority; | 134 | type Priority = crate::interrupt::Priority; |
| 135 | fn number(&self) -> u16 { | 135 | fn number(&self) -> u16 { |
| 136 | use cortex_m::interrupt::InterruptNumber; | 136 | use cortex_m::interrupt::InterruptNumber; |
