|
@ -52,10 +52,10 @@ void app::setup() { |
|
|
mMiPayload.setup(this, &mSys, &mStat, mConfig->nrf.maxRetransPerPyld, &mTimestamp); |
|
|
mMiPayload.setup(this, &mSys, &mStat, mConfig->nrf.maxRetransPerPyld, &mTimestamp); |
|
|
mMiPayload.enableSerialDebug(mConfig->serial.debug); |
|
|
mMiPayload.enableSerialDebug(mConfig->serial.debug); |
|
|
|
|
|
|
|
|
DBGPRINTLN("--- after payload"); |
|
|
//DBGPRINTLN("--- after payload");
|
|
|
DBGPRINTLN(String(ESP.getFreeHeap())); |
|
|
//DBGPRINTLN(String(ESP.getFreeHeap()));
|
|
|
DBGPRINTLN(String(ESP.getHeapFragmentation())); |
|
|
//DBGPRINTLN(String(ESP.getHeapFragmentation()));
|
|
|
DBGPRINTLN(String(ESP.getMaxFreeBlockSize())); |
|
|
//DBGPRINTLN(String(ESP.getMaxFreeBlockSize()));
|
|
|
|
|
|
|
|
|
if(!mSys.Radio.isChipConnected()) |
|
|
if(!mSys.Radio.isChipConnected()) |
|
|
DPRINTLN(DBG_WARN, F("WARNING! your NRF24 module can't be reached, check the wiring")); |
|
|
DPRINTLN(DBG_WARN, F("WARNING! your NRF24 module can't be reached, check the wiring")); |
|
@ -85,10 +85,10 @@ void app::setup() { |
|
|
regularTickers(); |
|
|
regularTickers(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DBGPRINTLN("--- end setup"); |
|
|
//DBGPRINTLN("--- end setup");
|
|
|
DBGPRINTLN(String(ESP.getFreeHeap())); |
|
|
//DBGPRINTLN(String(ESP.getFreeHeap()));
|
|
|
DBGPRINTLN(String(ESP.getHeapFragmentation())); |
|
|
//DBGPRINTLN(String(ESP.getHeapFragmentation()));
|
|
|
DBGPRINTLN(String(ESP.getMaxFreeBlockSize())); |
|
|
//DBGPRINTLN(String(ESP.getMaxFreeBlockSize()));
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
//-----------------------------------------------------------------------------
|
|
|