1
0
mirror of https://github.com/sandeepmistry/arduino-LoRa.git synced 2025-04-19 13:02:14 +03:00

Change arg type for beginPacket to int (instead of bool)

This commit is contained in:
Sandeep Mistry 2016-10-22 14:47:44 -04:00
parent 8aa75b10a3
commit d879e50d33
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ void LoRaClass::end()
SPI.end(); SPI.end();
} }
int LoRaClass::beginPacket(bool implicitHeader) int LoRaClass::beginPacket(int implicitHeader)
{ {
// put in standby mode // put in standby mode
idle(); idle();

View File

@ -15,7 +15,7 @@ public:
int begin(long frequency); int begin(long frequency);
void end(); void end();
int beginPacket(bool implicitHeader = false); int beginPacket(int implicitHeader = false);
int endPacket(); int endPacket();
int parsePacket(int size = 0); int parsePacket(int size = 0);