ESP-Now-Serial-Bridge
ESP-Now-Serial-Bridge copied to clipboard
added fix for ESP32 Core 2.X.X changes to esp_now_register_recv_cb
Newer version of ESP32 Core (2.X.X) has an additional parameter in the esp_now_register_recv_cb() function call. I added a new version of the OnDataRecv() function to be compliant, and commented out the old one to allow for easy rollback.
Worked nicely in my tests