mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-04 08:58:22 +02:00
move round3 function to helper
This commit is contained in:
parent
0a5833e6ec
commit
07d816b29d
4 changed files with 8 additions and 7 deletions
|
@ -59,10 +59,6 @@ class webApi {
|
|||
bool setCtrl(JsonObject jsonIn, JsonObject jsonOut);
|
||||
bool setSetup(JsonObject jsonIn, JsonObject jsonOut);
|
||||
|
||||
double round3(double value) {
|
||||
return (int)(value * 1000 + 0.5) / 1000.0;
|
||||
}
|
||||
|
||||
AsyncWebServer *mSrv;
|
||||
app *mApp;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue