1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-04 15:24:12 +01:00
Arduino/hardware/arduino/avr
Matthijs Kooijman 9b7b23f045 Prevent losing bytes in HardwareSerial::end()
end() already waited for the buffer to be empty, but then there could
still be two bytes in the hardware registers that still need to be
transmitted (which were dropped or kept in the buffer, depending on the
exact timing).

This changes the wait loop to a call to the flush() function, which
already takes care of really waiting for all bytes to be transmitted,
meaning it is safe to turn off the transmitter.
2015-07-31 14:06:20 +02:00
..
bootloaders Bootloaders: wrong #ifdefs, should be defined() not just tested (i.e. noteq 0) 2015-07-14 16:16:31 +02:00
cores/arduino Prevent losing bytes in HardwareSerial::end() 2015-07-31 14:06:20 +02:00
firmwares Merge branch 'master' into ide-1.5.x 2014-09-16 12:19:39 +02:00
libraries rework HID-based libraries and add Due fallback 2015-07-16 13:13:53 +02:00
variants Removed a handful of SVN expansion keywords. See #277 2015-07-03 10:38:07 +02:00
boards.txt Yun bootloader without blink 2015-07-07 17:15:42 +02:00
platform.txt Enable C11 support 2015-07-16 13:06:10 +02:00
programmers.txt Support the Atmel STK500 development board for ISP 2015-06-05 18:43:25 +02:00