drivers/cc1200: Don't disable cc1200 interrupts ever
authorKeith Packard <keithp@keithp.com>
Wed, 1 Feb 2023 22:14:55 +0000 (14:14 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 2 Feb 2023 02:04:36 +0000 (18:04 -0800)
The driver now leaves interrupts always enabled, don't disable them in
ao_radio_recv_abort as nothing will ever turn them back on.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_cc1200.c

index 727097441007fee784b2e570fd57d7d315ec7466..799f808fc0105b69d9acbcdcd951758c252f6f36 100644 (file)
@@ -204,7 +204,6 @@ ao_radio_status(void)
 void
 ao_radio_recv_abort(void)
 {
-       ao_exti_disable(AO_CC1200_INT_PORT, AO_CC1200_INT_PIN);
        ao_radio_abort = 1;
        ao_wakeup(&ao_radio_wake);
 }