aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBCore.cpp
diff options
context:
space:
mode:
authorJohn Holman <john.g.holman@gmail.com>2017-10-25 11:07:35 +0100
committerMartino Facchin <m.facchin@arduino.cc>2017-11-13 17:46:47 +0100
commit58006613a7c858417881744419c5da54cc21a401 (patch)
tree91ab55b89da9ccf73b732117ad6230c3178d5916 /cores/arduino/USBCore.cpp
parent99c294c5a251cffe84a51d474ec5275bd1a8311c (diff)
Fix flush hanging issue
Make write to UDR and clearing of TXC bit in flush() atomic to avoid race condition. Fixes #3745 (second different issue introduced later but discussed in the same issue)
Diffstat (limited to 'cores/arduino/USBCore.cpp')
0 files changed, 0 insertions, 0 deletions