diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-11-24 03:50:02 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-11-24 03:50:02 +0100 |
commit | 49e6624d3817c87d71265790d774e0d34a47b8b4 (patch) | |
tree | f3a874b7289cb4f4342721852a08e276072a63fb /contrib | |
parent | fix lora.init() and did some cleanup (diff) |
usb-lora example works now - but is not stable yet...
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/radiohead.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/radiohead.patch b/contrib/radiohead.patch index 3b154ee..a7040a6 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 11:40:24.000000000 +0100 -+++ RadioHead/RadioHead.h 2018-11-23 13:20:02.014133482 +0100 ++++ RadioHead/RadioHead.h 2018-11-24 03:40:03.395279378 +0100 @@ -317,8 +317,6 @@ cd /tmp mkdir RadioHead @@ -10,7 +10,7 @@ diff -Nur RadioHead-orig/RadioHead.h RadioHead/RadioHead.h cp /usr/local/projects/arduino/libraries/RadioHead/examples/cc110/cc110_client/cc110_client.pde application.cpp \endcode - Edit application.cpp and comment out any \#include <SPI.h> so it looks like: -@@ -1283,11 +1281,13 @@ +@@ -1283,11 +1281,14 @@ #elif (RH_PLATFORM == RH_PLATFORM_GENERIC_AVR8) #include <avr/io.h> #include <avr/interrupt.h> @@ -22,6 +22,7 @@ diff -Nur RadioHead-orig/RadioHead.h RadioHead/RadioHead.h - #include <SPI.h> + #include <Arduino.h> + #include <Arduino-SPI.h> ++ #define RH_ATTACHINTERRUPT_TAKES_PIN_NUMBER // For Steve Childress port to ARM M4 w/CMSIS with STM's Hardware Abstraction lib. // See ArduinoWorkarounds.h (not supplied) |