lorawan.cpp: small bugfix sprintf PACKET QUEUED
This commit is contained in:
parent
74f9101db7
commit
ba681f07f7
@ -150,11 +150,10 @@ void do_send(osjob_t *j) {
|
|||||||
LMIC_setTxData2(COUNTERPORT, mydata, sizeof(mydata),
|
LMIC_setTxData2(COUNTERPORT, mydata, sizeof(mydata),
|
||||||
(cfg.countermode & 0x02));
|
(cfg.countermode & 0x02));
|
||||||
ESP_LOGI(TAG, "%d bytes queued to send", sizeof(mydata));
|
ESP_LOGI(TAG, "%d bytes queued to send", sizeof(mydata));
|
||||||
sprintf(display_lmic, "PACKET QUEUED");
|
|
||||||
|
|
||||||
#ifdef HAS_GPS
|
#ifdef HAS_GPS
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
sprintf(display_lmic, "PACKET QUEUED");
|
||||||
|
|
||||||
// clear counter if not in cumulative counter mode
|
// clear counter if not in cumulative counter mode
|
||||||
if (cfg.countermode != 1) {
|
if (cfg.countermode != 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user