mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 07:36:11 +00:00
temp sensor
This commit is contained in:
0
ESP32-IDF_ESPNOW-Transmitter/build/.ninja_lock
Normal file
0
ESP32-IDF_ESPNOW-Transmitter/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
||||
ref: refs/heads/main
|
||||
4c2820d377d1375e787bcef612f0c32c1427d183
|
||||
|
@@ -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)
|
||||
|
@@ -1 +1 @@
|
||||
7ef5ac573fd23845a429b621ce7757243e2874f3
|
||||
4c2820d377d1375e787bcef612f0c32c1427d183
|
||||
|
@@ -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",
|
||||
|
@@ -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
|
Reference in New Issue
Block a user