Added missing line to enable interrupts

This commit is contained in:
Luke Else 2023-11-16 16:54:09 +00:00
parent 913b262d9f
commit e69b802ad7

View File

@ -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)?;