Skip to content

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

Open
@ggilestro

Description

@ggilestro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions