Skip to content

Commit 82920c0

Browse files
committed
Temporary support cor cmpr7 isr
This makes it so that only one software serial object can work at any give time, right? How can we handle multiple objects at once?
1 parent c83d88a commit 82920c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/SoftwareSerial/src/SoftwareSerial.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ void SoftwareSerial::begin(uint32_t baudRate, HardwareSerial_Config_e SSconfig)
110110

111111
// Attach argument interrupt with 'this' as argument
112112
attachInterruptArg(digitalPinToInterrupt(_rxPin), _software_serial_isr, (void*)this, CHANGE);
113+
114+
// temporary:
115+
ap3_serial_handle = this; // right now this is needed for the cmpr7 isr.
113116
}
114117

115118
int SoftwareSerial::available()

0 commit comments

Comments
 (0)