mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 21:50:17 +00:00
ESP32-C3 RC
This commit is contained in:
@@ -488,6 +488,7 @@ static esp_err_t rc_espnow_init (void) {
|
|||||||
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);
|
||||||
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);
|
||||||
|
|
||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
|
Reference in New Issue
Block a user