We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da39f95 commit 213d5e0Copy full SHA for 213d5e0
src/interrupts/mod.rs
@@ -124,8 +124,8 @@ impl<T> InterruptHandle<T> {
124
/// ```
125
pub struct InterruptTable<'a> {
126
_lifetime: PhantomData<&'a ()>,
127
- nvic: &'static mut NVIC,
128
- nvic_stir: &'static mut NVIC_STIR,
+ nvic: &'a mut NVIC,
+ nvic_stir: &'a mut NVIC_STIR,
129
data: [*mut (); 98],
130
}
131
@@ -180,8 +180,8 @@ impl<'a> Drop for InterruptTable<'a> {
180
/// # Panics
181
/// Panics if an interrupt is enabled and is not disabled after use in `code()`
182
pub fn scope<'a, F, C, R>(
183
184
185
default_handler: F,
186
code: C,
187
) -> R
0 commit comments