Skip to content

Commit

Permalink
Fix wrong function name error in recv_queue_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
rodgergr authored and rodgergr committed Mar 8, 2020
1 parent 403ec46 commit d628cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp32/mods/esp_espnow.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ STATIC void IRAM_ATTR send_cb(const uint8_t *macaddr, esp_now_send_status_t stat
STATIC void recv_queue_handler(void *arg) {
// this function will be called by the interrupt thread
mp_obj_tuple_t *msg = arg;
if (send_cb_obj != mp_const_none) {
if (recv_cb_obj != mp_const_none) {
mp_call_function_1(recv_cb_obj, msg);
}
}
Expand Down

0 comments on commit d628cbc

Please sign in to comment.