Added baudrate validation functions to the Serial implementations

This commit is contained in:
Eric Katzfey
2023-07-20 13:11:35 -07:00
parent 1b92db9d89
commit 4672106699
6 changed files with 86 additions and 0 deletions
+2
View File
@@ -68,6 +68,8 @@ private:
StopBits _stopbits{StopBits::One};
FlowControl _flowcontrol{FlowControl::Disabled};
bool validateBaudrate(uint32_t baudrate);
// Mutex used to lock the read functions
//pthread_mutex_t read_mutex;