mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
force rfcomm_channel_event to be 2-byte aligned -> avoid -Wcast-align warning
This commit is contained in:
parent
9b3a9947d3
commit
bad51efc8a
@ -208,6 +208,7 @@ typedef enum {
|
||||
|
||||
typedef struct rfcomm_channel_event {
|
||||
RFCOMM_CHANNEL_EVENT type;
|
||||
uint16_t dummy; // force rfcomm_channel_event to be 2-byte aligned -> avoid -Wcast-align warning
|
||||
} rfcomm_channel_event_t;
|
||||
|
||||
typedef struct rfcomm_channel_event_pn {
|
||||
|
Loading…
x
Reference in New Issue
Block a user