mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 22:30:17 +00:00
ESP32-C3 RC
This commit is contained in:
@@ -486,6 +486,7 @@ static esp_err_t rc_espnow_init (void) {
|
|||||||
memset(send_packet, 0, sizeof(espnow_data_packet_t));
|
memset(send_packet, 0, sizeof(espnow_data_packet_t));
|
||||||
send_packet->dest_mac = receiver_mac;
|
send_packet->dest_mac = receiver_mac;
|
||||||
send_packet->len = CONFIG_ESPNOW_SEND_LEN; // 128
|
send_packet->len = CONFIG_ESPNOW_SEND_LEN; // 128
|
||||||
|
send_packet->buffer = malloc(CONFIG_ESPNOW_SEND_LEN);
|
||||||
|
|
||||||
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