ESP32-C3 RC

This commit is contained in:
2025-01-03 03:09:54 -05:00
parent 49d40fbd20
commit 3e65f7e82e

View File

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