Skip to content

Callback for WiFi event is not std::function + WiFi.removeEvent has bug  #2026

Closed
@sticilface

Description

@sticilface

@igrr as, discussed.

https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.h#L38
is not an std::function.

These features are not documented.

https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp#L87

Needs to be refactored, as there is no == operator for std::function, and as you mentioned better to have RAII implementation. (I did try, and you've mentioned there is an error).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions