Notifications
Clear all

Problem compiling esp now code

17 Posts
4 Users
0 Reactions
246 Views
(@aliarifat)
Member
Joined: 1 month ago
Posts: 28
 

The issue you're facing with the esp_now_register_recv_cb function might be due to an incorrect or outdated library version.


   
ReplyQuote
robotBuilder
(@robotbuilder)
Member
Joined: 5 years ago
Posts: 2142
Topic starter  

@aliarifat 

Yes maybe. Anyway the fix was simple.

esp_now_register_recv_cb(OnDataRecv);

changed to,

esp_now_register_recv_cb(esp_now_recv_cb_t(OnDataRecv));

 


   
ReplyQuote
Page 2 / 2