senddata.cpp bugfix Cayenneport
This commit is contained in:
1 parent
73f19ac654
commit
487b2ff9fb
1 file changed
+1
-1
+1
-1
@@ -9,7 +9,7 @@ void senddata(uint8_t port) {
|
||||
ESP_LOGI(TAG, "LoRa busy, data not sent");
|
||||
sprintf(display_line7, "LORA BUSY");
|
||||
} else {
|
||||
LMIC_setTxData2(PAYLOAD_ENCODER == 4 ? CAYENNEPORT : port,
|
||||
LMIC_setTxData2(PAYLOAD_ENCODER <= 3 ? port : CAYENNEPORT,
|
||||
payload.getBuffer(), payload.getSize(),
|
||||
(cfg.countermode & 0x02));
|
||||
|
||||
|
||||
Reference in new issue
Block a user