mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-02 11:45:54 +02:00
avoid compile warning about uninitialized pointers
This commit is contained in:
parent
1dc66037ad
commit
41ce98d2df
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ class Web {
|
||||||
|
|
||||||
// NRF Statistics
|
// NRF Statistics
|
||||||
stat = mApp->getStatistics();
|
stat = mApp->getStatistics();
|
||||||
uint32_t *nrfSendCnt, *nrfRetransmits;
|
uint32_t *nrfSendCnt=NULL, *nrfRetransmits=NULL;
|
||||||
mApp->getNrfRadioCounters(nrfSendCnt, nrfRetransmits);
|
mApp->getNrfRadioCounters(nrfSendCnt, nrfRetransmits);
|
||||||
metrics += radioStatistic(F("rx_success"), stat->rxSuccess);
|
metrics += radioStatistic(F("rx_success"), stat->rxSuccess);
|
||||||
metrics += radioStatistic(F("rx_fail"), stat->rxFail);
|
metrics += radioStatistic(F("rx_fail"), stat->rxFail);
|
||||||
|
|
Loading…
Add table
Reference in a new issue