generated from luke-else/esp32-std-template
Added missing line to enable interrupts
This commit is contained in:
parent
913b262d9f
commit
e69b802ad7
@ -54,6 +54,7 @@ fn main() -> Result<(), Error> {
|
||||
unsafe {
|
||||
interrupt_button_handle.subscribe(app_state_interrupt);
|
||||
}
|
||||
interrupt_button_handle.enable_interrupt();
|
||||
|
||||
// Prepare components for processing
|
||||
let mut gps: GPS = GPS::new(peripherals.uart0, gps_rx)?;
|
||||
|
Loading…
Reference in New Issue
Block a user