mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 23:24:22 +00:00
ESP32-C3 RC
This commit is contained in:
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
0
ESP-IDF_Robot_RC/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
||||
ref: refs/heads/main
|
||||
c9763f62dd00c887a1a8fafe388db868a7e44069
|
||||
|
@@ -18,7 +18,7 @@ set(HEAD_HASH)
|
||||
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
|
||||
|
||||
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
|
||||
if(EXISTS "${GIT_DIR}/commondir")
|
||||
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
||||
|
@@ -1 +1 @@
|
||||
11b706cea2ea5175527c453873d1f47e23c2eb5a
|
||||
c9763f62dd00c887a1a8fafe388db868a7e44069
|
||||
|
@@ -438,8 +438,11 @@ void deletePeer (void) {
|
||||
/* Prepare ESPNOW data to be sent. */
|
||||
void sensors_data_prepare(espnow_data_packet_t *send_packet)
|
||||
{
|
||||
sensors_data_t *buffer = (sensors_data_t *)send_packet->buffer;
|
||||
assert(send_packet->len >= sizeof(sensors_data_t));
|
||||
sensors_data_t *buffer;
|
||||
malloc(buffer);
|
||||
send_packet->buffer = buffer;
|
||||
//sensors_data_t *buffer = (sensors_data_t *)send_packet->buffer;
|
||||
//assert(send_packet->len >= sizeof(sensors_data_t));
|
||||
|
||||
buffer->type = 1;
|
||||
buffer->crc = 0;
|
||||
|
Reference in New Issue
Block a user