mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-09 06:01:37 +02:00
fix sync time from browser issue
This commit is contained in:
parent
2e08ee04bd
commit
ef72fe9a40
3 changed files with 18 additions and 17 deletions
|
@ -49,10 +49,10 @@ class webApi {
|
|||
void getLive(JsonObject obj);
|
||||
void getRecord(JsonObject obj, record_t<> *rec);
|
||||
|
||||
bool setCtrl(DynamicJsonDocument jsonIn, JsonObject jsonOut);
|
||||
bool setSetup(DynamicJsonDocument jsonIn, JsonObject jsonOut);
|
||||
bool setCtrl(JsonObject jsonIn, JsonObject jsonOut);
|
||||
bool setSetup(JsonObject jsonIn, JsonObject jsonOut);
|
||||
|
||||
Inverter<> *getInverter(DynamicJsonDocument jsonIn, JsonObject jsonOut);
|
||||
Inverter<> *getInverter(JsonObject jsonIn, JsonObject jsonOut);
|
||||
|
||||
double round3(double value) {
|
||||
return (int)(value * 1000 + 0.5) / 1000.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue