From d879e50d33a4fb8269f9ff41cacdc0f2b4866a10 Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Sat, 22 Oct 2016 14:47:44 -0400 Subject: [PATCH] Change arg type for beginPacket to int (instead of bool) --- src/LoRa.cpp | 2 +- src/LoRa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LoRa.cpp b/src/LoRa.cpp index 78826df..84a8b82 100644 --- a/src/LoRa.cpp +++ b/src/LoRa.cpp @@ -111,7 +111,7 @@ void LoRaClass::end() SPI.end(); } -int LoRaClass::beginPacket(bool implicitHeader) +int LoRaClass::beginPacket(int implicitHeader) { // put in standby mode idle(); diff --git a/src/LoRa.h b/src/LoRa.h index 2cadc50..f5df68a 100644 --- a/src/LoRa.h +++ b/src/LoRa.h @@ -15,7 +15,7 @@ public: int begin(long frequency); void end(); - int beginPacket(bool implicitHeader = false); + int beginPacket(int implicitHeader = false); int endPacket(); int parsePacket(int size = 0);