oberfritze
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
7 deletions
-
src/app.cpp
-
src/app.h
|
@ -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 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
@ -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; |
|
|
|
|
|
|
|
|