add another crc to make sure we don't get corrupt data

This commit is contained in:
2025-04-27 02:23:21 +02:00
parent 3457b76938
commit 0c71409c30
3 changed files with 84 additions and 62 deletions

View File

@@ -8,6 +8,8 @@
static uint8_t s_led_state = 0;
uint8_t telemetryIndex = 1;
uint8_t foundDevices[128];
uint8_t prevDevices[128];
@@ -261,6 +263,8 @@ void i2c_sensors_task(void *pvParameters)
telemetryPacket.currentServoA = servoState.currentServoA;
telemetryPacket.currentServoB = servoState.currentServoB;
telemetryPacket.telemetryIndex = telemetryIndex++;
}
packetReadiness = 1;