Serial.flush() hangs when using 2Mbps #6821
Labels
Architecture: AVR
Applies only to the AVR microcontrollers (Uno, etc.)
Component: HardwareSerial
The hardware serial functionality of the core libraries
When using a buad rate of 2Mbps, Serial.flush() hangs. This issue is fully discussed and solved here at http://forum.arduino.cc/index.php?topic=504753.0. The proposed solution is to switch lines 221 and 222 shown here https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/HardwareSerial.cpp#L221-L222.
The text was updated successfully, but these errors were encountered: