Skip to content

Commit

Permalink
Handle SPI.h better in Maple
Browse files Browse the repository at this point in the history
  • Loading branch information
maniacbug committed Dec 21, 2011
1 parent bc7e422 commit 5cb32c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion RF24.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
version 2 as published by the Free Software Foundation.
*/

#include <SPI.h>
#include "nRF24L01.h"
#include "RF24_config.h"
#include "RF24.h"
Expand Down
4 changes: 3 additions & 1 deletion RF24_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
#include <stddef.h>

// Stuff that is normally provided by Arduino
#ifndef ARDUINO
#ifdef ARDUINO
#include <SPI.h>
#else
#include <stdint.h>
#include <stdio.h>
#include <string.h>
Expand Down

0 comments on commit 5cb32c9

Please sign in to comment.