1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-03 14:24:15 +01:00
Arduino/hardware/arduino/avr/libraries/SoftwareSerial
Matthijs Kooijman f3aa5f23c4 Fix race condition in SoftwareSerial::overflow()
If an interrupt causing overflow would occur between reading
_buffer_overflow and clearing it, this overflow condition would be
immediately cleared and never be returned by overflow().

By only clearing the overflow flag if an overflow actually occurred,
this problem goes away (worst case overflow() returns false even though
an overflow _just_ occurred, but then the next call to overflow() will
return true).
2015-01-26 17:03:25 +01:00
..
examples Revert "SoftwareSerial library to the new format" 2013-11-15 12:54:59 +01:00
keywords.txt Revert "SoftwareSerial library to the new format" 2013-11-15 12:54:59 +01:00
library.properties missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00
SoftwareSerial.cpp Toggle SoftwareSerial interrupts when starting / stopping to listen 2015-01-26 17:03:25 +01:00
SoftwareSerial.h Fix race condition in SoftwareSerial::overflow() 2015-01-26 17:03:25 +01:00