summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-13 14:57:21 +0700
committerhathach <[email protected]>2018-12-13 14:57:21 +0700
commita6b943260060224cdffe0d55d50fb4e377b65392 (patch)
tree4b8985cc437011f2c3e605257d71aed001ccbd30 /src/class
parent1c49c479cabf1be9b1c22017c42a8480b26cebcb (diff)
clean up error enum
Diffstat (limited to 'src/class')
-rw-r--r--src/class/hid/hid_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index 1e44055ec..b01cd9d59 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -238,12 +238,12 @@ bool hidh_open_subtask(uint8_t dev_addr, tusb_desc_interface_t const *p_interfac
#endif
{
- // TUSB_ERROR_HIDH_NOT_SUPPORTED_PROTOCOL
+ // Not supported protocol
return false;
}
}else
{
- // TUSB_ERROR_HIDH_NOT_SUPPORTED_SUBCLASS
+ // Not supported subclass
return false;
}