Commit 1da112a6 authored by TMRh20's avatar TMRh20

Slight fix for makefile and RF24.h define

parent 603f4cc8
......@@ -41,7 +41,7 @@ librf24-bcm: RF24.o bcm2835.o
RF24.o: RF24.cpp
g++ -Wall -fPIC ${CCFLAGS} -c $^
bcm2835.o: RPi/bcm2835.c
bcm2835.o: ${DRIVER_DIR}/bcm2835.c
gcc -Wall -fPIC ${CCFLAGS} -c $^
# clear build files
......
......@@ -16,7 +16,7 @@
#define __RF24_H__
#include "RF24_config.h"
#if defined (RF24_LINUX)
#if defined (__linux) || defined (LINUX)
#include "RPi/bcm2835.h"
#elif defined SOFTSPI
#include <DigitalIO.h>
......
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