We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2cbb39 commit cdab124Copy full SHA for cdab124
src/jsdevices.c
@@ -438,7 +438,7 @@ void CALLED_FROM_INTERRUPT jshIOEventOverflowed() {
438
439
/// Push an IO event (max IOEVENT_MAX_LEN) into the ioBuffer (designed to be called from IRQ), returns true on success, Calls jshHadEvent();
440
bool CALLED_FROM_INTERRUPT jshPushEvent(IOEventFlags evt, uint8_t *data, unsigned int length) {
441
- assert(length<IOEVENT_MAX_LEN);
+ assert(length<=IOEVENT_MAX_LEN);
442
if (length>IOEVENT_MAX_LEN) {
443
#ifndef RELEASE
444
jsiConsolePrintf("%d>IOEVENT_MAX_LEN\n", length);
0 commit comments