Typos.
[bertos.git] / drv / ser.c
index e776075b5f0609e12d34e9f472d71cb6020df63b..06186d48c6c1850e8f7b31ca955989f08515342e 100644 (file)
--- a/drv/ser.c
+++ b/drv/ser.c
@@ -52,9 +52,7 @@
  */
 
 #include "ser.h"
-
 #include "wdt.h"
-
 #include "ser_p.h"
 #include <mware/formatwr.h>
 #include <cfg/debug.h>
@@ -380,6 +378,10 @@ void ser_setparity(struct Serial *port, int parity)
        port->hw->table->setParity(port->hw, parity);
 }
 
+void ser_clearstatus(struct Serial *port)
+{
+       ser_setstatus(port, 0);
+}
 
 /**
  * Flush both the RX and TX buffers.