ESP32-C3 RC

This commit is contained in:
2025-01-03 09:18:28 -05:00
parent 465568113d
commit b3be0c5856
5 changed files with 6 additions and 6 deletions

View File

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_RC/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024) 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) 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 @@
ef69de1ea6a189d99e4ffed359e73edff9f47745 c9763f62dd00c887a1a8fafe388db868a7e44069

View File

@@ -466,10 +466,10 @@ void sendData (void) {
buffer = malloc(sizeof(sensors_data_t)); buffer = malloc(sizeof(sensors_data_t));
buffer->type = 1; buffer->type = 1;
buffer->crc = 0; buffer->crc = 0;
buffer->x_axis = 240; buffer->x_axis = (uint8_t)240;
buffer->y_axis = 2040; buffer->y_axis = (uint8_t)2040;
buffer->nav_bttn = 0; buffer->nav_bttn = 0;
buffer->motor1_rpm_pcm = 10; buffer->motor1_rpm_pcm = (uint8_t)10;
buffer->motor2_rpm_pcm = 0; buffer->motor2_rpm_pcm = 0;
buffer->motor3_rpm_pcm = 0; buffer->motor3_rpm_pcm = 0;
buffer->motor4_rpm_pcm = 0; buffer->motor4_rpm_pcm = 0;