removed NVIC for cortex cpu, unused for xtensa

This commit is contained in:
Priec
2025-10-16 10:27:46 +02:00
parent 02971bd9e1
commit cb533fcdac
2 changed files with 0 additions and 14 deletions

View File

@@ -57,13 +57,6 @@ async fn main(spawner: Spawner) {
TIMER0.borrow_ref_mut(cs).replace(timer0);
});
// enable NVIC entry for this timer
interrupt::enable(
peripherals::Interrupt::TG1_T0_LEVEL,
interrupt::Priority::Priority2, // medium priority
)
.unwrap();
// Initialize GPIO4 as output (starts LOW)
let gpio4 = Output::new(peripherals.GPIO4, Level::Low, OutputConfig::default());