ESP32-C3 RC

This commit is contained in:
2025-01-03 02:59:27 -05:00
parent 6f131ffbbd
commit 31308222dd

View File

@@ -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;