ESP-IDF Robot ESP NOW

This commit is contained in:
2024-12-24 12:12:36 -05:00
parent d6686010e0
commit 8cc8d2206a
6 changed files with 4 additions and 4 deletions

View File

@@ -1 +1 @@
ref: refs/heads/main c9763f62dd00c887a1a8fafe388db868a7e44069

View File

@@ -18,7 +18,7 @@ set(HEAD_HASH)
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP-IDF_Robot/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024) file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP-IDF_Robot/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS) string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
set(GIT_DIR "/home/abobkov/MyProjects/ESP-Nodes/.git") set(GIT_DIR "/home/abobkov/esp/esp-idf/.git")
# handle git-worktree # handle git-worktree
if(EXISTS "${GIT_DIR}/commondir") if(EXISTS "${GIT_DIR}/commondir")
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024) file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)

View File

@@ -1 +1 @@
b0d462ad490c1a23a11696c5556e6e69b29b3f25 c9763f62dd00c887a1a8fafe388db868a7e44069

View File

@@ -225,7 +225,7 @@ static void wifi_init()
static void espnow_send_cb (const uint8_t *mac_addr, esp_now_send_status_t status) { static void espnow_send_cb (const uint8_t *mac_addr, esp_now_send_status_t status) {
} }
static void espnow_receive_cb (const esp_now_recv_info_t *recv_info, const uint8_t *data, int len) { static void espnow_recv_cb (const esp_now_recv_info_t *recv_info, const uint8_t *data, int len) {
espnow_event_t evt; espnow_event_t evt;
espnow_event_recv_cb_t *recv_cb = &evt.info.recv_cb; espnow_event_recv_cb_t *recv_cb = &evt.info.recv_cb;
} }