event display fine tuning

This commit is contained in:
Verkehrsrot 2019-10-12 14:25:04 +02:00
parent 7e5d053ec5
commit d80a41a9bf

View File

@ -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