From 9b91831d9b8d36f17b50d118c3582927efa5a74f Mon Sep 17 00:00:00 2001 From: ndeadly <24677491+ndeadly@users.noreply.github.com> Date: Sat, 17 Apr 2021 00:09:46 +0200 Subject: [PATCH] btdrv: fix ssp_request struct definition for 12.0.0 to match wiki --- nx/include/switch/services/btdrv.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nx/include/switch/services/btdrv.h b/nx/include/switch/services/btdrv.h index 4fb65b5b..9fe34b87 100644 --- a/nx/include/switch/services/btdrv.h +++ b/nx/include/switch/services/btdrv.h @@ -80,12 +80,11 @@ typedef struct { BtdrvAddress addr; ///< Device address. char name[0xF9]; ///< Device name, NUL-terminated string. BtdrvClassOfDevice class_of_device; ///< Class of Device. - u32 type; ///< 0 = SSP confirm request, 3 = SSP passkey notification. + u8 flag; ///< bool flag for Just Works. With SSP passkey notification this is always 0 u8 pad; ///< Padding s32 passkey; ///< Passkey, only set when the above field is value 3. } v12; ///< [12.0.0+] }; - } ssp_request; ///< ::BtdrvEventType_SspRequest struct {