forked from tbnobody/OpenDTU
-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DPL config: round floats and convert to double
this seems to be the only way to force ArduinoJson to serialize the value in the way we expect, i.e., with only the amount of decimal digits that the value can actually provide as precision.
- Loading branch information
1 parent
6af563e
commit 5cb9b75
Showing
1 changed file
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters