From 49e6624d3817c87d71265790d774e0d34a47b8b4 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 24 Nov 2018 03:50:02 +0100 Subject: usb-lora example works now - but is not stable yet... --- contrib/radiohead.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'contrib') 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 so it looks like: -@@ -1283,11 +1281,13 @@ +@@ -1283,11 +1281,14 @@ #elif (RH_PLATFORM == RH_PLATFORM_GENERIC_AVR8) #include #include @@ -22,6 +22,7 @@ diff -Nur RadioHead-orig/RadioHead.h RadioHead/RadioHead.h - #include + #include + #include ++ #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) -- cgit v1.2.3