mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 09:58:23 +02:00
0.8.19
* added ms to serial log * added (debug) option to configure gap between inverter requests
This commit is contained in:
parent
e4ab7e9e5b
commit
1c12f4c141
13 changed files with 50 additions and 27 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue