mirror of
https://github.com/sandeepmistry/arduino-LoRa.git
synced 2025-04-20 23:47:47 +03:00
Change arg type for beginPacket to int (instead of bool)
This commit is contained in:
parent
8aa75b10a3
commit
d879e50d33
@ -111,7 +111,7 @@ void LoRaClass::end()
|
||||
SPI.end();
|
||||
}
|
||||
|
||||
int LoRaClass::beginPacket(bool implicitHeader)
|
||||
int LoRaClass::beginPacket(int implicitHeader)
|
||||
{
|
||||
// put in standby mode
|
||||
idle();
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user