Trim float values for MQTT

This commit is contained in:
2022-04-23 13:26:18 +03:00
parent 5c5ef929fa
commit 61c072bbcc
11 changed files with 176 additions and 29 deletions

View File

@@ -26,3 +26,4 @@ uint32_t co2;
bool firstRun;
float p, t, h;
int light, lightPrev;
void trim(char *s);