add another crc to make sure we don't get corrupt data
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user