diff options
Diffstat (limited to 'wirish/comm/HardwareSerial.cpp')
-rw-r--r-- | wirish/comm/HardwareSerial.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wirish/comm/HardwareSerial.cpp b/wirish/comm/HardwareSerial.cpp index 3e855ea..93cf909 100644 --- a/wirish/comm/HardwareSerial.cpp +++ b/wirish/comm/HardwareSerial.cpp @@ -97,6 +97,10 @@ void HardwareSerial::begin(uint32 baud) { usart_init(usartNum, baud); } +void HardwareSerial::end(void) { + usart_disable(usartNum); +} + HardwareSerial Serial1(1); HardwareSerial Serial2(2); HardwareSerial Serial3(3); |