mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-01 05:09:11 +00:00
ESP32-C3 RC
This commit is contained in:
@@ -462,6 +462,7 @@ void sensors_data_prepare(espnow_data_packet_t *send_packet)
|
||||
void sendData (void) {
|
||||
// Send data, specify receiver MAC address, pointer to the data being sent, and length of data being sent.
|
||||
sensors_data_t *buffer;
|
||||
buffer = malloc(sizeof(sensors_data_t));
|
||||
buffer->type = 1;
|
||||
buffer->crc = 0;
|
||||
buffer->x_axis = 0;
|
||||
|
Reference in New Issue
Block a user