adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
438 stars 328 forks source link

Fix ODROID_M1 board detection #771

Closed mahenzon closed 5 months ago

mahenzon commented 5 months ago

Yep, it worked because

"abc" in "abc"  # is True

But I guess the idea was to check if it's one of the boards (and for now the tuple of boards has only one member)

Same as: https://github.com/adafruit/Adafruit_Blinka/blob/fde264375432951da98131182e9b00a177b2f3c1/src/microcontroller/pin.py#L27