Handle SPI.h better in Maple
This commit is contained in:
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>
|
||||||
|
|||||||
Reference in New Issue
Block a user