Closed n3b0j5a closed 5 months ago
@n3b0j5a Thanks for your contribution. I submitted some reviews, PTAL.
@lhespress I see no review there?
@n3b0j5a I started a review for espnow_load_bindlist
API.
@lhespress For some reason I cannot see it. Actually i don't see any comments on that PR
@n3b0j5a sorry, i forget to change the review state, you can see it now.
@n3b0j5a I have merged it to the master branch.
@lhespress I found two more bugs in control source. First, bindlist in not properly loaded upon startup. It is only loaded if I call
espnow_ctrl_responder_bind
which is what i do not want to do every time, it should be loaded from flash. Second one, if i callespnow_ctrl_responder_data
and register callback, and after that i callespnow_ctrl_responder_bind
things can get messy because callback functions are inside of bindlist structure. I addressed bot problems in PR #83 by removing callback data from bindlist and making sure that bindlist is loaded from flash before use.