temp sensor

This commit is contained in:
2025-06-24 03:20:57 -04:00
parent fb3e57dbaa
commit e5fbf471bd
6 changed files with 9 additions and 9 deletions

View File

@@ -1 +1 @@
ref: refs/heads/main
4c2820d377d1375e787bcef612f0c32c1427d183

View File

@@ -18,7 +18,7 @@ set(HEAD_HASH)
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/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/v5.4.1/esp-idf/.git")
# handle git-worktree
if(EXISTS "${GIT_DIR}/commondir")
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)

View File

@@ -1 +1 @@
7ef5ac573fd23845a429b621ce7757243e2874f3
4c2820d377d1375e787bcef612f0c32c1427d183

View File

@@ -55,14 +55,14 @@ void get_joystick_xy(int *x_axis, int *y_axis)
}
// Function to delete peer (i.e. when communication error occurs)
void deletePeer (void)
static void deletePeer (void)
{
uint8_t delStatus = esp_now_del_peer(receiver_mac);
if (delStatus != 0) {
ESP_LOGE(TAG, "Could not delete peer");
}
}
void sendData (void)
static void sendData (void)
{
buffer.crc = 0;
buffer.x_axis = 240;
@@ -107,7 +107,7 @@ void joystick_task(void *arg)
}
}
void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status)
static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status)
{
if (status == ESP_NOW_SEND_SUCCESS) {
ESP_LOGI(TAG, "Data sent successfully to: %02X:%02X:%02X:%02X:%02X:%02X",

View File

@@ -13,10 +13,10 @@ void transmission_init();
esp_err_t joystick_adc_init(void);
void joystick_show_raw_xy();
void get_joystick_xy(int *x_axis, int *y_axis);
void sendData (void);
void deletePeer (void);
static void sendData (void);
static void deletePeer (void);
void joystick_task(void *arg);
void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status);
static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status);
void rc_send_data_task();
#endif