Skip to content

Commit d1dbd8d

Browse files
ndeadlyfincs
authored andcommitted
btdrv: fix struct alignment issue in BtdrvBleEventInfo
1 parent de7cfeb commit d1dbd8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nx/include/switch/services/btdrv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ typedef struct {
372372
struct {
373373
u32 result; ///< 0 for success, non-zero for error.
374374
u8 status; ///< Connection status. 0 = Connected, 2 = Disconnected
375-
u16 server_if; ///< Server interface handle
376-
u8 pad; ///< Padding
375+
u8 server_if; ///< Server interface handle
376+
u8 pad[2]; ///< Padding
377377
u32 conn_id; ///< Connection ID
378378
BtdrvAddress address; ///< Device address
379379
u16 reason; ///< Disconnection reason

0 commit comments

Comments
 (0)