lax size restrictions
This commit is contained in:
1 parent
15de3f14a9
commit
508d33f97b
1 file changed
+1
-1
@@ -430,7 +430,7 @@ int detectPyramid(uint8_t *dest, size_t *size, int *waveStartIdx) {
|
||||
return -4; //preamble not found
|
||||
|
||||
// wrong size? (between to preambles)
|
||||
if (*size != 128) return -5;
|
||||
if (*size < 128) return -5;
|
||||
|
||||
return (int)startIdx;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user