From f07be7f2ac8183d4624a4fe7129869496e0559cb Mon Sep 17 00:00:00 2001 From: Liam Murphy Date: Tue, 9 Aug 2022 00:23:19 +1000 Subject: [PATCH] Tweak: use the Usage page const, not an immediate (#525) Co-authored-by: kaczmarczyck <43844792+kaczmarczyck@users.noreply.github.com> --- tools/vendor_hid_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/vendor_hid_test.py b/tools/vendor_hid_test.py index 7c72e03..310d744 100644 --- a/tools/vendor_hid_test.py +++ b/tools/vendor_hid_test.py @@ -282,7 +282,7 @@ def get_fido_device() -> CtapHidDevice: def get_fido_device_vendor() -> CtapHidDevice: # Patch for the Vendor Usage Page. - with patch.object(fido2.hid.base, 'FIDO_USAGE_PAGE', 0xFF00): + with patch.object(fido2.hid.base, 'FIDO_USAGE_PAGE', _VENDOR_USAGE_PAGE): return get_fido_device()