lax size restrictions

This commit is contained in:
iceman1001 committed 2021-07-18 21:19:11 +02:00
1 parent 15de3f14a9
commit 508d33f97b
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}