Handle SPI.h better in Maple

This commit is contained in:
maniacbug 2011-12-21 08:32:57 -08:00
parent bc7e422083
commit 5cb32c92cc
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,6 @@
version 2 as published by the Free Software Foundation. version 2 as published by the Free Software Foundation.
*/ */
#include <SPI.h>
#include "nRF24L01.h" #include "nRF24L01.h"
#include "RF24_config.h" #include "RF24_config.h"
#include "RF24.h" #include "RF24.h"

View File

@ -19,7 +19,9 @@
#include <stddef.h> #include <stddef.h>
// Stuff that is normally provided by Arduino // Stuff that is normally provided by Arduino
#ifndef ARDUINO #ifdef ARDUINO
#include <SPI.h>
#else
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>