mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-18 17:07:11 +00:00
ESP32-C3 RC & Receiver
This commit is contained in:
@@ -104,7 +104,8 @@ void sendData (void) {
|
|||||||
ESP_LOGI(TAG, "pcm 3: 0x%04X", (uint8_t)buffer.motor3_rpm_pcm);
|
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);*/
|
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->type = 1;
|
||||||
buffer->crc = 0;
|
buffer->crc = 0;
|
||||||
buffer->x_axis = 240;
|
buffer->x_axis = 240;
|
||||||
|
Reference in New Issue
Block a user