lucadentella / SPIFFS_ImageReader

5 stars 5 forks source link

Blunt solution to using this with the Adafruit equivalent. #6

Closed orual closed 1 year ago

orual commented 1 year ago

I ran into this issue because I wanted to load images from both the SPIFFS and an SD card. The Adafruit library and this one tried to define the same enums twice, which causes compilation to fail. This is a simple workaround for that issue, though it does require that Adafruit_ImageReader.h come first in the includes.

lucadentella commented 1 year ago

Thanks!