Browse Source

avoid compile warning about uninitialized pointers

pull/1027/head
Stephan Enderlein 2 years ago
parent
commit
41ce98d2df
  1. 2
      src/web/web.h

2
src/web/web.h

@ -701,7 +701,7 @@ class Web {
// NRF Statistics
stat = mApp->getStatistics();
uint32_t *nrfSendCnt, *nrfRetransmits;
uint32_t *nrfSendCnt=NULL, *nrfRetransmits=NULL;
mApp->getNrfRadioCounters(nrfSendCnt, nrfRetransmits);
metrics += radioStatistic(F("rx_success"), stat->rxSuccess);
metrics += radioStatistic(F("rx_fail"), stat->rxFail);

Loading…
Cancel
Save