-
-
- #include "HardwareSerial.h"
- #include "core_pins.h"
- #include "Arduino.h"
-
-
- HardwareSerial *HardwareSerial::s_serials_with_serial_events[CNT_HARDWARE_SERIAL];
- uint8_t HardwareSerial::s_count_serials_with_serial_events = 0;
-
-
-
- void HardwareSerial::addToSerialEventsList() {
- s_serials_with_serial_events[s_count_serials_with_serial_events++] = this;
- yield_active_check_flags |= YIELD_CHECK_HARDWARE_SERIAL;
- }
|