From a259b6e07ce023d558fe0f1f01e645a59d68a944 Mon Sep 17 00:00:00 2001 From: Giampiero Date: Fri, 7 Sep 2018 11:09:52 +0200 Subject: [PATCH] isTransmitting() public --- src/LoRa.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/LoRa.h b/src/LoRa.h index c5d239e..b76033e 100644 --- a/src/LoRa.h +++ b/src/LoRa.h @@ -15,7 +15,7 @@ #define LORA_DEFAULT_DIO0_PIN -1 #else #define LORA_DEFAULT_SPI SPI -#define LORA_DEFAULT_SPI_FREQUENCY 8E6 +#define LORA_DEFAULT_SPI_FREQUENCY 8E6 #define LORA_DEFAULT_SS_PIN 10 #define LORA_DEFAULT_RESET_PIN 9 #define LORA_DEFAULT_DIO0_PIN 2 @@ -33,6 +33,7 @@ class LoRaClass : public Stream { int beginPacket(int implicitHeader = false); int endPacket(bool async = false); + bool isTransmitting(); int parsePacket(int size = 0); int packetRssi(); @@ -68,7 +69,7 @@ class LoRaClass : public Stream { void disableCrc(); void enableInvertIQ(); void disableInvertIQ(); - + void setOCP(uint8_t mA); // Over Current Protection control // deprecated @@ -88,7 +89,6 @@ class LoRaClass : public Stream { void implicitHeaderMode(); void handleDio0Rise(); - bool isTransmitting(); int getSpreadingFactor(); long getSignalBandwidth();