mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-31 04:51:08 +00:00
ESP32-C3 RC
This commit is contained in:
@@ -442,7 +442,7 @@ void sensors_data_prepare(espnow_data_packet_t *send_packet)
|
||||
//malloc(sizeof(sensors_data_t));
|
||||
//send_packet->buffer = &buffer;
|
||||
//sensors_data_t *buffer = (sensors_data_t *)send_packet->buffer;
|
||||
sensors_data_t *buffer = (espnow_data_packet_t *)send_packet->buffer;
|
||||
sensors_data_t *buffer = (sensors_data_t *)send_packet->buffer;
|
||||
assert(send_packet->len >= sizeof(sensors_data_t));
|
||||
|
||||
buffer->type = 1;
|
||||
|
Reference in New Issue
Block a user