diff options
Diffstat (limited to 'src/serial.hpp')
-rw-r--r-- | src/serial.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/serial.hpp b/src/serial.hpp index 9a9488d..f32ca63 100644 --- a/src/serial.hpp +++ b/src/serial.hpp @@ -7,7 +7,7 @@ class SerialStream { public: - SerialStream(Serial_ serial, uint64_t baud_rate); + SerialStream(Serial_ serial, const unsigned long &baud_rate); SerialStream &operator<<(const char *str); SerialStream &operator<<(const SmartString &str); @@ -18,6 +18,8 @@ public: SerialStream &operator<<(void (*manipulator)(SerialStream *)); + void waitReady(); + void write(const char *str); void flush(); |