aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Client.h
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2013-06-04 11:04:30 +0200
committerMatthijs Kooijman <matthijs@stdin.nl>2015-01-26 17:03:24 +0100
commit4d3ccb411801214d713bb93c1297c074c14e9ab4 (patch)
tree62a5099d166c4bc826bb6f75981cd87830cd5f76 /cores/arduino/Client.h
parent073ff135cedd131672256a1bd20e698ce6e8a60e (diff)
Clear SoftwareSerial rx delay if no interrupt register is found
Before enabling interupts, begin would see if the given receive pin actually has an associated PCINT register. If not, the interrupts would not be enabled. Now, the same check is done, but when no register is available, the rx parameters are not loaded at all (which in turn prevents the interrupt from being enabled). This allows all code to use the same "is rx enabled" (which will be added next).
Diffstat (limited to 'cores/arduino/Client.h')
0 files changed, 0 insertions, 0 deletions