Skip to content

Commit

Permalink
RESERVED_INTERRUPTS to be INTERRUPT_TO_PRIORITY
Browse files Browse the repository at this point in the history
  • Loading branch information
playfulFence committed Dec 4, 2024
1 parent d54f844 commit 45ee8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-hal/src/interrupt/riscv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl Priority {

/// The interrupts reserved by the HAL
#[cfg_attr(place_switch_tables_in_ram, link_section = ".rwtext")]
pub static RESERVED_INTERRUPTS: &[usize] = INTERRUPT_TO_PRIORITY;
pub static RESERVED_INTERRUPTS: &[usize] = PRIORITY_TO_INTERRUPT;

/// # Safety
///
Expand Down

0 comments on commit 45ee8ba

Please sign in to comment.