Skip to content

Commit 566809f

Browse files
committed
Fix signature (unsigned int&& is not identical to uint32_t&& for ESP32-C3 RISV V compiler)
1 parent c7c48b7 commit 566809f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "EspSoftwareSerial",
3-
"version": "6.12.6",
3+
"version": "6.12.7",
44
"description": "Implementation of the Arduino software serial for ESP8266/ESP32.",
55
"keywords": [
66
"serial", "io", "softwareserial"

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=EspSoftwareSerial
2-
version=6.12.6
2+
version=6.12.7
33
author=Dirk Kaar, Peter Lerup
44
maintainer=Dirk Kaar <dok@dok-net.net>
55
sentence=Implementation of the Arduino software serial for ESP8266/ESP32.

src/SoftwareSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class SoftwareSerial : public Stream {
260260
// the ISR stores the relative bit times in the buffer. The inversion corrected level is used as sign bit (2's complement):
261261
// 1 = positive including 0, 0 = negative.
262262
std::unique_ptr<circular_queue<uint32_t, SoftwareSerial*> > m_isrBuffer;
263-
const Delegate<void(unsigned int&&), SoftwareSerial*> m_isrBufferForEachDel = { [](SoftwareSerial* self, uint32_t&& isrCycle) { self->rxBits(isrCycle); }, this };
263+
const Delegate<void(uint32_t&&), SoftwareSerial*> m_isrBufferForEachDel = { [](SoftwareSerial* self, uint32_t&& isrCycle) { self->rxBits(isrCycle); }, this };
264264
std::atomic<bool> m_isrOverflow;
265265
uint32_t m_isrLastCycle;
266266
bool m_rxCurParity = false;

0 commit comments

Comments
 (0)