From 0e4ee35842a427417f06ba360bd58d1150c78fec 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 0288bb94..fed38e18 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 {