* added ms to serial log
* added (debug) option to configure gap between inverter requests
This commit is contained in:
lumapu 2023-12-11 22:38:48 +01:00
parent e4ab7e9e5b
commit 1c12f4c141
13 changed files with 50 additions and 27 deletions

View file

@ -211,15 +211,6 @@ class app : public IApp, public ah::Scheduler {
return mConfig->cmt.pinIrq;
}
String getTimeStr(uint32_t offset = 0) {
char str[10];
if(0 == mTimestamp)
sprintf(str, "n/a");
else
sprintf(str, "%02d:%02d:%02d ", hour(mTimestamp + offset), minute(mTimestamp + offset), second(mTimestamp + offset));
return String(str);
}
uint32_t getTimezoneOffset() {
return mApi.getTimezoneOffset();
}