Skip to content

Commit

Permalink
Fix: Broke SPI for Due and Teensy last commit
Browse files Browse the repository at this point in the history
- add #define for _SPI
- add links to alternate SPI libs
  • Loading branch information
TMRh20 committed Oct 10, 2014
1 parent f8791b1 commit c077f70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions RF24_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
//#define FAILURE_HANDLING
//#define SERIAL_DEBUG
//#define MINIMAL
//#define SPI_UART
//#define SOFTSPI
//#define SPI_UART // Requires library from https://github.com/TMRh20/Sketches/tree/master/SPI_UART
//#define SOFTSPI // Requires library from https://github.com/greiman/DigitalIO
/**********************/

// Define _BV for non-Arduino platforms and for Arduino DUE
Expand All @@ -52,7 +52,6 @@
#endif
#endif
#else

#include <stdint.h>
#include <stdio.h>
#include <string.h>
Expand All @@ -71,7 +70,7 @@
#define printf Serial.printf
#endif


#define _SPI SPI
#endif


Expand Down

0 comments on commit c077f70

Please sign in to comment.