russhughes / s3lcd

ESP_LCD based MicroPython driver for ESP32-S3 Devices with ST7789 or compatible displays.
Other
70 stars 11 forks source link

utils imgtobitmap.py missing variable in len() statement #17

Closed kf106 closed 11 months ago

kf106 commented 11 months ago

Running imgtobitmap.py didn't work.

Changing line 61 from

    max_colors = len()

to

    max_colors = len(colors)

fixed the error

russhughes commented 11 months ago

Thanks for the report.