Test
parent
beb69a8646
commit
493777b047
|
@ -1,10 +1,10 @@
|
|||
|
||||
#ifndef BUILD_NUMBER
|
||||
#define BUILD_NUMBER "24"
|
||||
#define BUILD_NUMBER "8"
|
||||
#endif
|
||||
#ifndef VERSION
|
||||
#define VERSION "v0.4.3.24- - 2021-09-16 11:30:47.660702"
|
||||
#define VERSION "v0.4.3.8-beb69a8 - 2021-09-20 11:02:04.015325"
|
||||
#endif
|
||||
#ifndef VERSION_SHORT
|
||||
#define VERSION_SHORT "v0.4.3.24-"
|
||||
#define VERSION_SHORT "v0.4.3.8-beb69a8"
|
||||
#endif
|
||||
|
|
|
@ -434,10 +434,10 @@ void loraSend(byte txPower, float aprsFreq, const String message) {
|
|||
#endif
|
||||
lastTX = millis();
|
||||
|
||||
int messageSize = min(message.length(), sizeof(lora_TXBUFF) - 1);
|
||||
// int messageSize = min(message.length(), sizeof(lora_TXBUFF) - 1);
|
||||
// message.getBytes(lora_TXBUFF, messageSize + 1, 0);
|
||||
loraSendFrameString = message;
|
||||
for (int i = 0 ; i < messageSize ; i++) {
|
||||
for (int i = 0 ; i < message.length() ; i++) {
|
||||
lora_TXBUFF[i] = (char)loraSendFrameString[i];
|
||||
}
|
||||
|
||||
|
@ -452,7 +452,7 @@ void loraSend(byte txPower, float aprsFreq, const String message) {
|
|||
|
||||
rf95.setFrequency(aprsFreq);
|
||||
rf95.setTxPower(txPower);
|
||||
rf95.sendAPRS(lora_TXBUFF, messageSize);
|
||||
rf95.sendAPRS(lora_TXBUFF, message.length());
|
||||
rf95.waitPacketSent();
|
||||
#ifdef TX_RX_LNA
|
||||
digitalWrite(TXPIN, LOW);
|
||||
|
|
Loading…
Reference in New Issue