mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 22:10:17 +00:00
ESP32-C3 RC
This commit is contained in:
@@ -487,7 +487,6 @@ static esp_err_t rc_espnow_init (void) {
|
|||||||
memcpy(send_packet->dest_mac, receiver_mac, ESP_NOW_ETH_ALEN);
|
memcpy(send_packet->dest_mac, receiver_mac, ESP_NOW_ETH_ALEN);
|
||||||
send_packet->len = CONFIG_ESPNOW_SEND_LEN; // 128
|
send_packet->len = CONFIG_ESPNOW_SEND_LEN; // 128
|
||||||
send_packet->buffer = malloc(CONFIG_ESPNOW_SEND_LEN);
|
send_packet->buffer = malloc(CONFIG_ESPNOW_SEND_LEN);
|
||||||
|
|
||||||
sensors_data_prepare(send_packet);
|
sensors_data_prepare(send_packet);
|
||||||
xTaskCreate(example_espnow_task, "controller data packets task", 2048, send_packet, 14, NULL);
|
xTaskCreate(example_espnow_task, "controller data packets task", 2048, send_packet, 14, NULL);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user