Skip to content

Commit

Permalink
use quotes for linux/gpio.h include (#963)
Browse files Browse the repository at this point in the history
in accordance with nRF24/pyRF24#48
  • Loading branch information
2bndy5 authored Mar 22, 2024
1 parent a5a2087 commit af7fbec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion utility/RPi/interrupt.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Interrupt implementations
*/
#include <linux/gpio.h>
#include "linux/gpio.h"
#include <unistd.h> // close()
#include <fcntl.h> // open()
#include <sys/ioctl.h> // ioctl()
Expand Down
2 changes: 1 addition & 1 deletion utility/RPi/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <pthread.h> // pthread_t
#include <stdexcept>
#include <linux/gpio.h> // 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
Expand Down
2 changes: 1 addition & 1 deletion utility/SPIDEV/gpio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
*
*/
#include <linux/gpio.h>
#include "linux/gpio.h"
#include <unistd.h> // close()
#include <fcntl.h> // open()
#include <sys/ioctl.h> // ioctl()
Expand Down
2 changes: 1 addition & 1 deletion utility/SPIDEV/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include <stdexcept>
#include <cstdint>
#include <linux/gpio.h> // gpiochip_info
#include "linux/gpio.h" // gpiochip_info

typedef uint16_t rf24_gpio_pin_t;
#define RF24_PIN_INVALID 0xFFFF
Expand Down
2 changes: 1 addition & 1 deletion utility/SPIDEV/interrupt.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Interrupt implementations
*/
#include <linux/gpio.h>
#include "linux/gpio.h"
#include <unistd.h> // close()
#include <fcntl.h> // open()
#include <sys/ioctl.h> // ioctl()
Expand Down

0 comments on commit af7fbec

Please sign in to comment.