Commit bfd62ead authored by TMRh20's avatar TMRh20

Fix for last pull request

- Goes to show that even the simplest of changes should be tested...
#43
parent 50450a9f
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
//#define SPI_UART // Requires library from https://github.com/TMRh20/Sketches/tree/master/SPI_UART //#define SPI_UART // Requires library from https://github.com/TMRh20/Sketches/tree/master/SPI_UART
//#define SOFTSPI // Requires library from https://github.com/greiman/DigitalIO //#define SOFTSPI // Requires library from https://github.com/greiman/DigitalIO
/**********************/ /**********************/
#define rf24_max(a,b) (a>b?a:b)
#define rf24_min(a,b) (a<b?a:b)
#if defined (__linux) || defined (linux) #if defined (__linux) || defined (linux)
...@@ -33,8 +35,6 @@ ...@@ -33,8 +35,6 @@
#include "RPi/bcm2835.h" #include "RPi/bcm2835.h"
// GCC a Arduino Missing // GCC a Arduino Missing
#define rf24_max(a,b) (a>b?a:b)
#define rf24_min(a,b) (a<b?a:b)
#define _BV(x) (1<<(x)) #define _BV(x) (1<<(x))
#define pgm_read_word(p) (*(p)) #define pgm_read_word(p) (*(p))
#define pgm_read_byte(p) (*(p)) #define pgm_read_byte(p) (*(p))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment