diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-06-04 11:30:26 +0200 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2015-01-26 17:03:25 +0100 |
commit | cb36793486dd8d8d91c16984c423dbad4f4710a6 (patch) | |
tree | 207f89e2dff1d86e2945dc19e086879ce446f66a /cores/arduino/Stream.cpp | |
parent | 3f02bcb49fca21a39d8c0d11c287addd9f7d7724 (diff) |
Toggle SoftwareSerial interrupts when starting / stopping to listen
This prevents interrupts from triggering when the SoftwareSerial
instance is not even listening.
Additionally, this removes the need to disable interrupts in
SoftwareSerial::listen, since no interrupts are active while it touches
the variables.
Diffstat (limited to 'cores/arduino/Stream.cpp')
0 files changed, 0 insertions, 0 deletions