event display fine tuning
This commit is contained in:
parent
7e5d053ec5
commit
d80a41a9bf
@ -472,12 +472,12 @@ void myEventCallback(void *pUserData, ev_t ev) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// print event
|
|
||||||
ESP_LOGD(TAG, "%s", lmic_event_msg);
|
|
||||||
|
|
||||||
// add Lora send queue length to display
|
// add Lora send queue length to display
|
||||||
if (msgWaiting)
|
if (msgWaiting)
|
||||||
snprintf(lmic_event_msg + 14, LMIC_EVENTMSG_LEN - 14, "%2u", msgWaiting);
|
snprintf(lmic_event_msg + 14, LMIC_EVENTMSG_LEN - 14, "%2u", msgWaiting);
|
||||||
|
|
||||||
|
// print event
|
||||||
|
ESP_LOGD(TAG, "%s", lmic_event_msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
// receive message handler
|
// receive message handler
|
||||||
|
Loading…
Reference in New Issue
Block a user