From 5cb32c92cc709c2fc86508864fbdb014f5ab80c5 Mon Sep 17 00:00:00 2001 From: maniacbug Date: Wed, 21 Dec 2011 08:32:57 -0800 Subject: [PATCH] Handle SPI.h better in Maple --- RF24.cpp | 1 - RF24_config.h | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RF24.cpp b/RF24.cpp index 574910b..2d289c0 100644 --- a/RF24.cpp +++ b/RF24.cpp @@ -6,7 +6,6 @@ version 2 as published by the Free Software Foundation. */ -#include #include "nRF24L01.h" #include "RF24_config.h" #include "RF24.h" diff --git a/RF24_config.h b/RF24_config.h index 321a0fd..4f777da 100644 --- a/RF24_config.h +++ b/RF24_config.h @@ -19,7 +19,9 @@ #include // Stuff that is normally provided by Arduino -#ifndef ARDUINO +#ifdef ARDUINO +#include +#else #include #include #include