summaryrefslogtreecommitdiff
path: root/contrib/radiohead.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/radiohead.patch')
-rw-r--r--contrib/radiohead.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/radiohead.patch b/contrib/radiohead.patch
index 4f9939f..3b154ee 100644
--- a/contrib/radiohead.patch
+++ b/contrib/radiohead.patch
@@ -1,6 +1,6 @@
-diff -Nur RadioHead.orig/RadioHead.h RadioHead/RadioHead.h
---- RadioHead.orig/RadioHead.h 2018-11-15 02:40:23.000000000 +0100
-+++ RadioHead/RadioHead.h 2018-11-23 01:50:55.920760834 +0100
+diff -Nur RadioHead-orig/RadioHead.h RadioHead/RadioHead.h
+--- RadioHead-orig/RadioHead.h 2018-11-15 11:40:24.000000000 +0100
++++ RadioHead/RadioHead.h 2018-11-23 13:20:02.014133482 +0100
@@ -317,8 +317,6 @@
cd /tmp
mkdir RadioHead
@@ -19,8 +19,9 @@ diff -Nur RadioHead.orig/RadioHead.h RadioHead/RadioHead.h
#include <string.h>
#include <stdbool.h>
#define RH_HAVE_HARDWARE_SPI
- #include <SPI.h>
+- #include <SPI.h>
+ #include <Arduino.h>
++ #include <Arduino-SPI.h>
// For Steve Childress port to ARM M4 w/CMSIS with STM's Hardware Abstraction lib.
// See ArduinoWorkarounds.h (not supplied)