From ee076c66c99fbd7895459e80d679c374340a9ed2 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 7 Mar 2022 11:24:01 +0100 Subject: refactor: make misc improvements & update calibration precision --- src/serial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/serial.cpp') 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; } -- cgit v1.2.3-18-g5258