ESP32-C3 RC & Receiver

This commit is contained in:
2025-01-04 04:46:19 -05:00
parent 54c19742c5
commit 4b39231c06

View File

@@ -104,7 +104,8 @@ void sendData (void) {
ESP_LOGI(TAG, "pcm 3: 0x%04X", (uint8_t)buffer.motor3_rpm_pcm);
ESP_LOGI(TAG, "pcm 4: 0x%04X", (uint8_t)buffer.motor4_rpm_pcm);*/
sensors_data_t buffer;
sensors_data_t *buffer;
buffer = malloc(sizeof(sensors_data_t));
buffer->type = 1;
buffer->crc = 0;
buffer->x_axis = 240;