adafruit / Adafruit_NeoTrellisM4

Example sketches for the NeoTrellis M4 board
51 stars 34 forks source link

Sanity check recorded sample length. #23

Closed caternuson closed 5 years ago

caternuson commented 5 years ago

Simple fix for behavior discovered here: https://forums.adafruit.com/viewtopic.php?f=19&t=155625

If QSPI has been used for something else, like a CircuitPython filesystem, an immediate attempt to playback a recorded example can lead to glitchy behavior since there is no sanity check of the actual data sitting in QSPI. If one were to make sure to record a sample before playback, behavior would not show up. So this is just a simple safe guard.

ladyada commented 5 years ago

lets wait for travis to finish b4 we bump!