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