[SX127x] Fixed error on newer compilers (CI_BUILD_ALL)
This commit is contained in:
parent
bc30785bea
commit
1017ec99fd
1 changed files with 4 additions and 2 deletions
|
@ -115,7 +115,8 @@ void setup() {
|
|||
|
||||
// start transmitting the first packet
|
||||
Serial.print(F("[SX1278] Sending first packet ... "));
|
||||
transmissionState = radio.startTransmit(longPacket + packetCounter);
|
||||
String packet = longPacket + packetCounter;
|
||||
transmissionState = radio.startTransmit(packet);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
@ -156,7 +157,8 @@ void loop() {
|
|||
|
||||
// send another packet
|
||||
Serial.print(F("[SX1278] Sending another packet ... "));
|
||||
transmissionState = radio.startTransmit(longPacket + packetCounter);
|
||||
String packet = longPacket + packetCounter;
|
||||
transmissionState = radio.startTransmit(packet);
|
||||
}
|
||||
|
||||
// check if we need to do another frequency hop
|
||||
|
|
Loading…
Add table
Reference in a new issue