summaryrefslogtreecommitdiff
path: root/src/serial.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-07 11:24:01 +0100
committerHampusM <hampus@hampusmat.com>2022-03-07 11:24:01 +0100
commitee076c66c99fbd7895459e80d679c374340a9ed2 (patch)
tree14bbacde20f8d23d8ec3c4638f18f6a09a1153cb /src/serial.cpp
parent5fea3a40f77417f639de3dbb27797d8e2ecdbaca (diff)
refactor: make misc improvements & update calibration precision
Diffstat (limited to 'src/serial.cpp')
-rw-r--r--src/serial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serial.cpp b/src/serial.cpp
index acf92fa..d3b3989 100644
--- a/src/serial.cpp
+++ b/src/serial.cpp
@@ -22,7 +22,7 @@ SerialStream &SerialStream::operator<<(const SmartString &str)
SerialStream &SerialStream::operator<<(const double &num)
{
- write(doubleToStr(num)->c_str);
+ write(doubleToStr(num, 3U, 4U)->c_str);
return *this;
}