Handle SPI.h better in Maple
This commit is contained in:
parent
bc7e422083
commit
5cb32c92cc
1
RF24.cpp
1
RF24.cpp
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue