diff --git a/src/app.cpp b/src/app.cpp index e1f055ac..ed9193a3 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -378,7 +378,7 @@ void app::tickSend(void) { if (mIVCommunicationOn) { if (!mSys.Radio.mBufCtrl.empty()) { if (mConfig->serial.debug) { - DPRINT(DBG_INFO, F("recbuf not empty! #")); + DPRINT(DBG_DEBUG, F("recbuf not empty! #")); DBGPRINTLN(String(mSys.Radio.mBufCtrl.size())); } } @@ -392,15 +392,11 @@ void app::tickSend(void) { if (NULL != iv) { if (iv->config->enabled) { - if (iv->ivGen == IV_HM) - mPayload.ivSend(iv); - else - mMiPayload.ivSend(iv); - } else { - DPRINTLN (DBG_INFO, "iv not enabled"); + if (iv->ivGen == IV_HM) + mPayload.ivSend(iv); + else + mMiPayload.ivSend(iv); } - } else { - DPRINTLN (DBG_INFO, "no inverter"); } } else { if (mConfig->serial.debug) diff --git a/src/app.h b/src/app.h index aa555072..4a361bf3 100644 --- a/src/app.h +++ b/src/app.h @@ -45,7 +45,6 @@ typedef PubSerial PubSerialType; // PLUGINS #include "plugins/Display/Display.h" typedef Display DisplayType; -// #include class app : public IApp, public ah::Scheduler { public: @@ -57,7 +56,6 @@ class app : public IApp, public ah::Scheduler { void loopStandard(void); void loopWifi(void); void onWifi(bool gotIp); - void cleanup_history(void); void regularTickers(void); void handleIntr(void) { @@ -209,7 +207,6 @@ class app : public IApp, public ah::Scheduler { HmSystemType mSys; - private: typedef std::function innerLoopCb; @@ -257,10 +254,6 @@ class app : public IApp, public ah::Scheduler { void tickMinute(void); void tickZeroValues(void); void tickMidnight(void); - void check_hist_file (File file); - void show_history (String path); - - /* void tickSerial(void) { if(Serial.available() == 0) return; @@ -274,7 +267,8 @@ class app : public IApp, public ah::Scheduler { DBGPRINT(String(buf[i], HEX) + " "); } DBGPRINTLN(""); - } */ + }*/ + void show_history (String path); innerLoopCb mInnerLoopCb; @@ -293,7 +287,6 @@ class app : public IApp, public ah::Scheduler { settings_t *mConfig; bool mSavePending; bool mSaveReboot; - bool mCritical; uint8_t mSendLastIvId; bool mSendFirst;