bitbank2 / JPEGDEC

An optimized JPEG decoder for Arduino
Apache License 2.0
365 stars 47 forks source link

Pure IDF fails to compile. #38

Closed geiseri closed 1 year ago

geiseri commented 2 years ago

IDF doesn't supply Arduino.h so it fails to compile. It looks like if || defined( ESP_PLATFORM ) is added to the end of: https://github.com/bitbank2/JPEGDEC/blob/7ac19062ee6274d69efbbccaf7105668a823f217/src/JPEGDEC.h#L16

It compiles and runs correctly.

bitbank2 commented 2 years ago

Would you mind doing a pull request with your change?

geiseri commented 1 year ago

Forgot to close with PR #40