Implemented flush for Serial UART API

This commit is contained in:
Eric Katzfey
2024-03-07 10:27:56 -08:00
parent 65a73496e7
commit cc48676eaa
9 changed files with 58 additions and 20 deletions
@@ -64,6 +64,8 @@ public:
ssize_t write(const void *buffer, size_t buffer_size);
void flush();
// If port is already open then the following configuration functions
// will reconfigure the port. If the port is not yet open then they will
// simply store the configuration in preparation for the port to be opened.