mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 08:43:25 +00:00
ESP32-C3 RC
This commit is contained in:
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/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/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 @@
|
||||
fc540030fde101e0d7cb2952241290ee274e9787
|
||||
c9763f62dd00c887a1a8fafe388db868a7e44069
|
||||
|
@@ -84,7 +84,7 @@ static void rc_get_raw_data() {
|
||||
y_sum += check_motor_pcm(rescale_raw_val(adc_raw[0][1]));
|
||||
sample ++;
|
||||
}
|
||||
else if (sample == 10) {
|
||||
else if (sample >= 10) {
|
||||
//x = check_motor_pcm(rescale_raw_val(adc_raw[0][0]));
|
||||
//y = check_motor_pcm(rescale_raw_val(adc_raw[0][1]));
|
||||
x = x_sum / 10;
|
||||
|
Reference in New Issue
Block a user