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
1da112a6
Commit
1da112a6
authored
Nov 06, 2014
by
TMRh20
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slight fix for makefile and RF24.h define
parent
603f4cc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Makefile
Makefile
+1
-1
RF24.h
RF24.h
+1
-1
No files found.
Makefile
View file @
1da112a6
...
@@ -41,7 +41,7 @@ librf24-bcm: RF24.o bcm2835.o
...
@@ -41,7 +41,7 @@ librf24-bcm: RF24.o bcm2835.o
RF24.o
:
RF24.cpp
RF24.o
:
RF24.cpp
g++
-Wall
-fPIC
${CCFLAGS}
-c
$^
g++
-Wall
-fPIC
${CCFLAGS}
-c
$^
bcm2835.o
:
RPi
/bcm2835.c
bcm2835.o
:
${DRIVER_DIR}
/bcm2835.c
gcc
-Wall
-fPIC
${CCFLAGS}
-c
$^
gcc
-Wall
-fPIC
${CCFLAGS}
-c
$^
# clear build files
# clear build files
...
...
RF24.h
View file @
1da112a6
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#define __RF24_H__
#define __RF24_H__
#include "RF24_config.h"
#include "RF24_config.h"
#if defined (
RF24_
LINUX)
#if defined (
__linux) || defined (
LINUX)
#include "RPi/bcm2835.h"
#include "RPi/bcm2835.h"
#elif defined SOFTSPI
#elif defined SOFTSPI
#include <DigitalIO.h>
#include <DigitalIO.h>
...
...
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