TFMini-Plus icon indicating copy to clipboard operation
TFMini-Plus copied to clipboard

RPi Pico CRC check error (memcpy)

Open farzadsw opened this issue 2 years ago • 6 comments

I tried to run the sample code on an RPi Pico, but I always got a 0 as output (Arduino IDE 2.0.3). The problem is the memcpy function for shifting the arrays with overlapping memory. I changed it to memmove and it works now (Also I increased the buffer size for Serial1, to 128 bytes).

https://github.com/budryerson/TFMini-Plus/blob/90f1fcd86283f51a48ce8752aabe2ecbae762e43/src/TFMPlus.cpp#L137

farzadsw avatar Feb 13 '23 08:02 farzadsw