Skip to content

Commit

Permalink
Merge pull request #28 from nerdyscout/patch-1
Browse files Browse the repository at this point in the history
avr guard for pgmspace
  • Loading branch information
brentru authored Oct 2, 2019
2 parents 8f4d005 + 93b689c commit 56395e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion TinyLoRa.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
#define TINY_LORA_H

#include <Arduino.h>
#include <avr/pgmspace.h>
#if defined(ARDUINO_ARCH_AVR)
#include <avr/pgmspace.h>
#elif defined(ARDUINO_ARCH_ESP32)
#include <pgmspace.h>
#endif

// uncomment for debug output
// #define DEBUG
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=TinyLoRa
version=1.2.0
version=1.2.1
author=Adafruit
maintainer=Adafruit<info@adafruit.com>
sentence=Tiny LoRa Library for TTN
Expand Down

0 comments on commit 56395e8

Please sign in to comment.