diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/at91rm9200_usart.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/serial/at91rm9200_usart.c b/drivers/serial/at91rm9200_usart.c index d5634454927..858bde97c11 100644 --- a/drivers/serial/at91rm9200_usart.c +++ b/drivers/serial/at91rm9200_usart.c @@ -86,6 +86,11 @@ int serial_init (void) return (0); } +void serial_exit (void) +{ + us->US_CR = (AT91C_US_RSTRX | AT91C_US_RSTTX); +} + void serial_putc (const char c) { if (c == '\n') |