From 5d645ae382df94f279adfd842a7318fd4cdbc635 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 1 Apr 2024 14:30:09 -0700 Subject: [PATCH] wrap wiringPiISRStop() in driver API (#968) --- utility/wiringPi/interrupt.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utility/wiringPi/interrupt.h b/utility/wiringPi/interrupt.h index 8001fe6c6..26886853a 100644 --- a/utility/wiringPi/interrupt.h +++ b/utility/wiringPi/interrupt.h @@ -7,8 +7,6 @@ #include #define attachInterrupt wiringPiISR - -// wiringPi has no detachInterrupt() implementation. Therefor, we will not define it here. -// Invoking detachInterrupt() with this wiringPi driver/wrapper should trigger compilation errors +#define detachInterrupt wiringPiISRStop #endif // RF24_UTILITY_WIRINGPI_INTERRUPT_H__