Closed geiseri closed 1 year 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
Arduino.h
|| defined( ESP_PLATFORM )
It compiles and runs correctly.
Would you mind doing a pull request with your change?
Forgot to close with PR #40
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#L16It compiles and runs correctly.