Browse Source

Fix unit test for UAC2 ClockSourceDescriptor

main^2
Tobias Müller 3 years ago
parent
commit
23701c4f9c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      usb_protocol/types/descriptors/uac2.py

+ 2
- 2
usb_protocol/types/descriptors/uac2.py View File

@@ -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


Loading…
Cancel
Save