add another crc to make sure we don't get corrupt data
This commit is contained in:
@@ -19,6 +19,7 @@ typedef struct __attribute__((packed))
|
||||
uint32_t packetIndex;
|
||||
uint8_t packetType;
|
||||
uint32_t missionTimer;
|
||||
uint32_t CRCCheck;
|
||||
} DownBoundPacket;
|
||||
|
||||
typedef struct __attribute__((packed))
|
||||
@@ -90,6 +91,8 @@ typedef struct __attribute__((packed))
|
||||
int16_t currentServoB;
|
||||
int16_t targetServoB;
|
||||
|
||||
uint8_t telemetryIndex;
|
||||
|
||||
} TelemetryPacket;
|
||||
|
||||
typedef struct __attribute__((packed))
|
||||
@@ -97,6 +100,7 @@ typedef struct __attribute__((packed))
|
||||
char syncPhrase[10];
|
||||
uint32_t packetIndex;
|
||||
uint8_t packetType;
|
||||
uint32_t CRCCheck;
|
||||
} UplinkPacket;
|
||||
|
||||
typedef struct __attribute__((packed))
|
||||
|
Reference in New Issue
Block a user