1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Improve serialPortUsage_t alignment

This commit is contained in:
Martin Budden 2017-07-29 16:04:56 +01:00
parent f324f10b97
commit 1a5d898f81

View file

@ -95,8 +95,8 @@ extern const serialPortIdentifier_e serialPortIdentifiers[SERIAL_PORT_COUNT];
// //
typedef struct serialPortUsage_s { typedef struct serialPortUsage_s {
serialPort_t *serialPort; serialPort_t *serialPort;
serialPortIdentifier_e identifier;
serialPortFunction_e function; serialPortFunction_e function;
serialPortIdentifier_e identifier;
} serialPortUsage_t; } serialPortUsage_t;
serialPort_t *findSharedSerialPort(uint16_t functionMask, serialPortFunction_e sharedWithFunction); serialPort_t *findSharedSerialPort(uint16_t functionMask, serialPortFunction_e sharedWithFunction);