Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RF24
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
RF24
Commits
bfd62ead
Commit
bfd62ead
authored
Nov 26, 2014
by
TMRh20
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for last pull request
- Goes to show that even the simplest of changes should be tested... #43
parent
50450a9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
RF24_config.h
RF24_config.h
+2
-2
No files found.
RF24_config.h
View file @
bfd62ead
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment