move round3 function to helper

This commit is contained in:
Sven Naumann 2022-12-01 09:15:28 +00:00
parent 0a5833e6ec
commit 07d816b29d
4 changed files with 8 additions and 7 deletions

View file

@ -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;