mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-19 13:54:23 +01:00
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.