Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfFan committed Feb 20, 2024
1 parent 8d42d6e commit 68d1f17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp-hal/src/interrupt/xtensa.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use procmacros::ram;
use xtensa_lx::interrupt::{self, InterruptNumber};
use xtensa_lx_rt::exception::Context;

Expand Down Expand Up @@ -100,7 +99,6 @@ pub fn clear(_core: Cpu, which: CpuInterrupt) {
}

/// Get status of peripheral interrupts
#[inline(always)]
pub fn get_status(core: Cpu) -> u128 {
unsafe {
#[allow(unused_mut)]
Expand Down Expand Up @@ -190,6 +188,8 @@ pub use vectored::*;

#[cfg(feature = "vectored")]
mod vectored {
use procmacros::ram;

use super::*;
use crate::get_core;

Expand Down

0 comments on commit 68d1f17

Please sign in to comment.