From 313c07c9e071c61fe099d3afd7d660116d9810a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20M=C3=BCller?= Date: Tue, 25 May 2021 21:37:57 +0200 Subject: [PATCH] Fix unit test for UAC2 ClockSourceDescriptor --- usb_protocol/types/descriptors/uac2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usb_protocol/types/descriptors/uac2.py b/usb_protocol/types/descriptors/uac2.py index 5dd7988..007fb13 100644 --- a/usb_protocol/types/descriptors/uac2.py +++ b/usb_protocol/types/descriptors/uac2.py @@ -884,7 +884,7 @@ class UAC2Cases(unittest.TestCase): parsed = ClockSourceDescriptor.parse([ 0x08, # Length 0x24, # Type - 0x0B, # Subtype + 0x0A, # Subtype 0x01, # Clock ID 0x01, # Attributes 0x01, # Controls @@ -916,7 +916,7 @@ class UAC2Cases(unittest.TestCase): self.assertEqual(data, bytes([ 0x08, # Length 0x24, # Type - 0x0B, # Subtype + 0x0A, # Subtype 0x01, # Clock ID 0x01, # Attributes 0x01, # Controls