aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/stk500v2/stk500boot.c
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2013-06-13 10:26:15 +0200
committerMatthijs Kooijman <matthijs@stdin.nl>2015-01-26 17:03:25 +0100
commitcf0cc48d9a8de84fabb44e644dcac6a3f8afc66c (patch)
tree8e06494cdc88138c332d99c479e46bbbfa1257cf /bootloaders/stk500v2/stk500boot.c
parent11ade32f20ce2779d99981947eac6b5c4e52f408 (diff)
Use stopListening() in SoftwareSerial::end()
stopListening also disabled the interrupt, if needed, so calling that function makes more sense. Since stopListening only disables the interrupt when the current SoftwareSerial is the active object, and that can only be the case when _rx_delay_stopbit is non-zero, there is no need to separately check _rx_delay_stopbit anymore.
Diffstat (limited to 'bootloaders/stk500v2/stk500boot.c')
0 files changed, 0 insertions, 0 deletions