adafruit / Adafruit_CircuitPython_PyCamera

Library for the Adafruit PyCamera
https://docs.circuitpython.org/projects/pycamera
MIT License
17 stars 9 forks source link

Check for inconsistent CIRCUITPY and display CircuitPython update message #29

Closed dhalbert closed 9 months ago

dhalbert commented 9 months ago

Check for a CIRCUITPY drive that is too large, which indicates that CIRCUITPY was created by a version of CircuitPython older than 9.0.0 beta 2. If so, display and print a message, and hang.

Punctuation has changed slightly since this screen shot.

img_3018_720

dhalbert commented 9 months ago

Review from anyone.

dhalbert commented 9 months ago

@brentru Since it doesn't have a name, const() will not save space. const() gets rid of _WHATEVER names that are global so that they are substituted at compile-time. It doesn't affect the actual constant.