Notifications
Clear all

Problem compiling esp now code

17 Posts
4 Users
0 Reactions
588 Views
(@aliarifat)
Member
Joined: 4 months ago
Posts: 51
 

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: 2230
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