Commit 85038040 authored by TMRh20's avatar TMRh20

Fix for last commit (code merge)

Prevent inclusion of BCM2835 driver for non-linux devices
parent 435e4db8
......@@ -14,6 +14,7 @@
// Any CE pin can be used
// For use with optimized RPi RF24 and RF24 Network libs - see github.com/TMRh20
//****************************************/
#if defined (__linux) || defined (LINUX)
#include <stdlib.h>
#include <stdio.h>
......@@ -1361,5 +1362,5 @@ int main(int argc, char **argv)
}
#endif
#endif //Linux
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