Browse Source

Add files via upload

pull/1080/head
oberfritze 2 years ago
committed by GitHub
parent
commit
304da165d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/app.cpp
  2. 2
      src/app.h

6
src/app.cpp

@ -229,9 +229,8 @@ void app::tickNtpUpdate(void) {
mSys.cleanup_history(); mSys.cleanup_history();
#ifdef AHOY_SML_OBIS_SUPPORT #ifdef AHOY_SML_OBIS_SUPPORT
if (mConfig->sml_obis.ir_connected) { // design: allways try to clean up
sml_cleanup_history (); sml_cleanup_history ();
}
#endif #endif
} }
@ -369,9 +368,8 @@ void app::tickMidnight(void) {
} }
mSys.cleanup_history (); mSys.cleanup_history ();
#ifdef AHOY_SML_OBIS_SUPPORT #ifdef AHOY_SML_OBIS_SUPPORT
if (mConfig->sml_obis.ir_connected) { // design: allways try to clean up
sml_cleanup_history(); sml_cleanup_history();
}
#endif #endif
} }

2
src/app.h

@ -204,6 +204,7 @@ class app : public IApp, public ah::Scheduler {
else else
Scheduler::setTimestamp(newTime); Scheduler::setTimestamp(newTime);
} }
void show_history (String path);
HmSystemType mSys; HmSystemType mSys;
@ -269,7 +270,6 @@ class app : public IApp, public ah::Scheduler {
DBGPRINTLN(""); DBGPRINTLN("");
}*/ }*/
void check_hist_file (File file); void check_hist_file (File file);
void show_history (String path);
innerLoopCb mInnerLoopCb; innerLoopCb mInnerLoopCb;

Loading…
Cancel
Save