Added baudrate validation functions to the Serial implementations

This commit is contained in:
Eric Katzfey
2023-12-27 09:09:30 -08:00
parent ad0ce0b7ed
commit 5938831e50
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;