aboutsummaryrefslogtreecommitdiff
path: root/libraries/Wire/examples/slave_sender
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2013-06-04 11:30:26 +0200
committerMatthijs Kooijman <matthijs@stdin.nl>2015-01-26 17:03:25 +0100
commitcb36793486dd8d8d91c16984c423dbad4f4710a6 (patch)
tree207f89e2dff1d86e2945dc19e086879ce446f66a /libraries/Wire/examples/slave_sender
parent3f02bcb49fca21a39d8c0d11c287addd9f7d7724 (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 'libraries/Wire/examples/slave_sender')
0 files changed, 0 insertions, 0 deletions