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
+1
View File
@@ -69,6 +69,7 @@ private:
StopBits _stopbits{StopBits::One};
FlowControl _flowcontrol{FlowControl::Disabled};
bool validateBaudrate(uint32_t baudrate);
bool configure();
// Mutex used to lock the read functions