summaryrefslogtreecommitdiff
path: root/src/utils/serial.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/serial.hpp')
-rw-r--r--src/utils/serial.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/utils/serial.hpp b/src/utils/serial.hpp
index f97e1d8..0d4f929 100644
--- a/src/utils/serial.hpp
+++ b/src/utils/serial.hpp
@@ -7,12 +7,14 @@
class SerialStream
{
public:
- SerialStream(Serial_ serial, unsigned long baud_rate);
- ~SerialStream();
+ SerialStream(Serial_ serial, uint64_t baud_rate);
SerialStream &operator<<(const char *str);
SerialStream &operator<<(const SmartString &str);
- SerialStream &operator<<(const float num);
+ SerialStream &operator<<(const double &num);
+ SerialStream &operator<<(const int &num);
+ SerialStream &operator<<(const unsigned int &num);
+ SerialStream &operator<<(const uint32_t &num);
SerialStream &operator<<(void (*manipulator)(SerialStream *));