mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-25 06:46:10 +02:00
fix workflow
This commit is contained in:
parent
dab6b17200
commit
3cfa564171
2 changed files with 8 additions and 9 deletions
16
src/app.cpp
16
src/app.cpp
|
@ -52,10 +52,10 @@ void app::setup() {
|
|||
mMiPayload.setup(this, &mSys, &mStat, mConfig->nrf.maxRetransPerPyld, &mTimestamp);
|
||||
mMiPayload.enableSerialDebug(mConfig->serial.debug);
|
||||
|
||||
DBGPRINTLN("--- after payload");
|
||||
DBGPRINTLN(String(ESP.getFreeHeap()));
|
||||
DBGPRINTLN(String(ESP.getHeapFragmentation()));
|
||||
DBGPRINTLN(String(ESP.getMaxFreeBlockSize()));
|
||||
//DBGPRINTLN("--- after payload");
|
||||
//DBGPRINTLN(String(ESP.getFreeHeap()));
|
||||
//DBGPRINTLN(String(ESP.getHeapFragmentation()));
|
||||
//DBGPRINTLN(String(ESP.getMaxFreeBlockSize()));
|
||||
|
||||
if(!mSys.Radio.isChipConnected())
|
||||
DPRINTLN(DBG_WARN, F("WARNING! your NRF24 module can't be reached, check the wiring"));
|
||||
|
@ -85,10 +85,10 @@ void app::setup() {
|
|||
regularTickers();
|
||||
|
||||
|
||||
DBGPRINTLN("--- end setup");
|
||||
DBGPRINTLN(String(ESP.getFreeHeap()));
|
||||
DBGPRINTLN(String(ESP.getHeapFragmentation()));
|
||||
DBGPRINTLN(String(ESP.getMaxFreeBlockSize()));
|
||||
//DBGPRINTLN("--- end setup");
|
||||
//DBGPRINTLN(String(ESP.getFreeHeap()));
|
||||
//DBGPRINTLN(String(ESP.getHeapFragmentation()));
|
||||
//DBGPRINTLN(String(ESP.getMaxFreeBlockSize()));
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
@ -182,7 +182,6 @@ class RestApi {
|
|||
}
|
||||
|
||||
void getGeneric(JsonObject obj) {
|
||||
obj[F("build")] = String(AUTO_GIT_HASH);
|
||||
obj[F("wifi_rssi")] = (WiFi.status() != WL_CONNECTED) ? 0 : WiFi.RSSI();
|
||||
obj[F("ts_uptime")] = mApp->getUptime();
|
||||
obj[F("menu_prot")] = mApp->getProtection();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue