lax size restrictions

This commit is contained in:
iceman1001 2021-07-18 21:19:11 +02:00
commit 508d33f97b

View file

@ -430,7 +430,7 @@ int detectPyramid(uint8_t *dest, size_t *size, int *waveStartIdx) {
return -4; //preamble not found return -4; //preamble not found
// wrong size? (between to preambles) // wrong size? (between to preambles)
if (*size != 128) return -5; if (*size < 128) return -5;
return (int)startIdx; return (int)startIdx;
} }