Skip to content

Commit

Permalink
make xtensa::interrupt::vectored private, we rexport public items
Browse files Browse the repository at this point in the history
  • Loading branch information
MabezDev committed Jul 26, 2022
1 parent 1897dc3 commit 8375677
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion esp-hal-common/src/interrupt/xtensa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ unsafe fn core1_interrupt_peripheral() -> *const crate::pac::interrupt_core1::Re
pub use vectored::*;

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

use super::*;
Expand Down
2 changes: 1 addition & 1 deletion esp32-hal/examples/gpio_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn main() -> ! {

interrupt::enable(
pac::Interrupt::GPIO,
interrupt::vectored::Priority::Priority2,
interrupt::Priority::Priority2,
)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion esp32s2-hal/examples/gpio_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn main() -> ! {

interrupt::enable(
pac::Interrupt::GPIO,
interrupt::vectored::Priority::Priority2,
interrupt::Priority::Priority2,
)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion esp32s3-hal/examples/gpio_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn main() -> ! {

interrupt::enable(
pac::Interrupt::GPIO,
interrupt::vectored::Priority::Priority2,
interrupt::Priority::Priority2,
)
.unwrap();

Expand Down

0 comments on commit 8375677

Please sign in to comment.