diff options
Diffstat (limited to 'src/serial.cpp')
-rw-r--r-- | src/serial.cpp | 2 |
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; } |