Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensor_t is not always a valid name when compiling this against ESP8266/ESP32 #99

Open
ggilestro opened this issue Nov 16, 2021 · 0 comments

Comments

@ggilestro
Copy link

This code will not work for me on the ESP8266 / ESP32 unless I rename all instances of sensor_t to something proprietary, like adafruit_sensor_t. I believe it is because of a clash with an existing piece of code for ESP32-Camera:

https://github.com/espressif/esp32-camera/blob/61400bc73b18e9ffcfd5b3806fee26d135c45fe7/driver/include/sensor.h#L189-L195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant