1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Optimised struct.

This commit is contained in:
mikeller 2018-05-10 02:15:00 +12:00
parent 9bf762e9e8
commit 48e06edc00

View file

@ -96,7 +96,6 @@ typedef struct __attribute__((packed)) {
struct serialPort_s;
typedef struct mspPort_s {
struct serialPort_s *port; // null when port unused.
bool sharedWithTelemetry;
timeMs_t lastActivityMs;
mspPendingSystemRequest_e pendingRequest;
mspState_e c_state;
@ -109,6 +108,7 @@ typedef struct mspPort_s {
uint_fast16_t dataSize;
uint8_t checksum1;
uint8_t checksum2;
bool sharedWithTelemetry;
} mspPort_t;
void mspSerialInit(void);