ESP32-C3 RC

This commit is contained in:
2025-01-03 03:33:05 -05:00
parent 3d105b6bb0
commit 655cd65c9e

View File

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