Skip to content

Commit

Permalink
Merge pull request #883 from bugadani/xtensa-interrupt-number
Browse files Browse the repository at this point in the history
Do not implement InterruptNumber for XtensaLx
  • Loading branch information
burrbull authored Nov 5, 2024
2 parents e8fddfa + bfe48e2 commit d56f939
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 d56f939

Please sign in to comment.