Skip to content

Commit

Permalink
Do not implement InterruptNumber for XtensaLx
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Nov 5, 2024
1 parent e8fddfa commit bfe48e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
- *breaking change* Return raw writtened value
- Add `from_write`, `from_write_with_zero`, and `from_modify` register modifiers
with generic return value
- `InterruptNumber` is no longer implemented for Xtensa peripheral interrupts

## [v0.33.5] - 2024-10-12

Expand Down
7 changes: 0 additions & 7 deletions src/generate/interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,13 +308,6 @@ pub fn render(
root.extend(quote! {
#interrupt_enum

unsafe impl xtensa_lx::interrupt::InterruptNumber for Interrupt {
#[inline(always)]
fn number(#self_token) -> u16 {
#nr_expr
}
}

/// TryFromInterruptError
#defmt
#[derive(Debug, Copy, Clone)]
Expand Down

0 comments on commit bfe48e2

Please sign in to comment.