Browse Source

emitters: fix for automatic language descriptors

main
dokthar 4 years ago
parent
commit
5b9c2e6656
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      usb_protocol/emitters/descriptors/standard.py

+ 1
- 1
usb_protocol/emitters/descriptors/standard.py View File

@@ -264,7 +264,7 @@ class DeviceDescriptorCollection:


# If we're not automatically adding a language descriptor, we shouldn't do anything, # If we're not automatically adding a language descriptor, we shouldn't do anything,
# and we'll just ignore this. # and we'll just ignore this.
if not self._ensure_has_language_descriptor:
if not self._automatic_language_descriptor:
return return


# If we don't have a language descriptor, add our default one. # If we don't have a language descriptor, add our default one.


Loading…
Cancel
Save