From 976b1cd2819b440872d4df83a974200ac7a17376 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 22 Mar 2024 13:41:07 -0700 Subject: [PATCH] use quotes for linux/gpio.h include in accordance with nRF24/pyRF24#48 --- utility/RPi/interrupt.cpp | 2 +- utility/RPi/interrupt.h | 2 +- utility/SPIDEV/gpio.cpp | 2 +- utility/SPIDEV/gpio.h | 2 +- utility/SPIDEV/interrupt.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/utility/RPi/interrupt.cpp b/utility/RPi/interrupt.cpp index 1ebd8057..de3fc94a 100644 --- a/utility/RPi/interrupt.cpp +++ b/utility/RPi/interrupt.cpp @@ -1,7 +1,7 @@ /** * Interrupt implementations */ -#include +#include "linux/gpio.h" #include // close() #include // open() #include // ioctl() diff --git a/utility/RPi/interrupt.h b/utility/RPi/interrupt.h index dff0af11..de09cbbb 100644 --- a/utility/RPi/interrupt.h +++ b/utility/RPi/interrupt.h @@ -6,7 +6,7 @@ #include // pthread_t #include -#include // GPIO_V2_LINE_FLAG_EDGE_*** +#include "linux/gpio.h" // GPIO_V2_LINE_FLAG_EDGE_*** #include "RF24_arch_config.h" // rf24_gpio_pin_t #define INT_EDGE_FALLING GPIO_V2_LINE_FLAG_EDGE_FALLING diff --git a/utility/SPIDEV/gpio.cpp b/utility/SPIDEV/gpio.cpp index 71676ed7..61d9c9f3 100644 --- a/utility/SPIDEV/gpio.cpp +++ b/utility/SPIDEV/gpio.cpp @@ -5,7 +5,7 @@ * * */ -#include +#include "linux/gpio.h" #include // close() #include // open() #include // ioctl() diff --git a/utility/SPIDEV/gpio.h b/utility/SPIDEV/gpio.h index 629d8132..702623f5 100644 --- a/utility/SPIDEV/gpio.h +++ b/utility/SPIDEV/gpio.h @@ -15,7 +15,7 @@ #include #include -#include // gpiochip_info +#include "linux/gpio.h" // gpiochip_info typedef uint16_t rf24_gpio_pin_t; #define RF24_PIN_INVALID 0xFFFF diff --git a/utility/SPIDEV/interrupt.cpp b/utility/SPIDEV/interrupt.cpp index 34602c70..7e070c6d 100644 --- a/utility/SPIDEV/interrupt.cpp +++ b/utility/SPIDEV/interrupt.cpp @@ -1,7 +1,7 @@ /** * Interrupt implementations */ -#include +#include "linux/gpio.h" #include // close() #include // open() #include // ioctl()