mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +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.