From afdd8d07e81d3e6ca9d9d2fc8e425bffd06995b8 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Thu, 21 Mar 2019 11:19:20 -0400 Subject: [PATCH] Updated usbhs docs regarding 7.0.0+. --- nx/include/switch/services/usbhs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/nx/include/switch/services/usbhs.h b/nx/include/switch/services/usbhs.h index 5f728aff..7edc3b9d 100644 --- a/nx/include/switch/services/usbhs.h +++ b/nx/include/switch/services/usbhs.h @@ -27,6 +27,7 @@ typedef enum { } UsbHsInterfaceFilterFlags; /// Interface filtering struct. When the associated flag bit is set, the associated descriptor field and struct field are compared, on mismatch the interface is filtered out. +/// [7.0.0+]: The filter struct has to be unique, it can't be used by anything else (including other processes). Hence, Flags has to be non-zero. When initialized with usb:hs:a and VID and/or PID filtering is enabled, the VID/PID will be checked against a blacklist. typedef struct { u16 Flags; ///< See \ref UsbHsInterfaceFilterFlags. Setting this to 0 is equivalent to disabling filtering. u16 idVendor;