summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-12-04 18:51:52 +0700
committerhathach <[email protected]>2022-12-04 19:44:01 +0700
commit43b255f413e08b9e567a23b24701efbdaebcb824 (patch)
tree09b1e0e015e98c24a9deea490484142f6e013384 /examples/device
parent6a2cf6728906aa61b44ecfe43b4ceef287b29bf8 (diff)
more typos
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/hid_generic_inout/hid_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/hid_generic_inout/hid_test.py b/examples/device/hid_generic_inout/hid_test.py
index 21fd3f421..5bdba9db0 100644
--- a/examples/device/hid_generic_inout/hid_test.py
+++ b/examples/device/hid_generic_inout/hid_test.py
@@ -13,8 +13,8 @@ for vid in USB_VID:
if dev:
while True:
# Get input from console and encode to UTF8 for array of chars.
- # hid generic inout is single report therefore by HIDAPI requirement
- # it must be preceeded with 0x00 as dummy reportID
+ # hid generic in/out is single report therefore by HIDAPI requirement
+ # it must be preceded, with 0x00 as dummy reportID
str_out = b'\x00'
str_out += input("Send text to HID Device : ").encode('utf-8')
dev.write(str_out)