summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-02-27 02:14:01 +0700
committerhathach <[email protected]>2013-02-27 02:14:01 +0700
commit5eca6d69c3447cd997c129797f431fe5d0356dff (patch)
treeab6b81f11fd6f95f345836ef6f0bced25bf01fb4 /tinyusb/class
parent4023d07df0ef5db09b88b0326371bb92301ebd2e (diff)
correct error using local p_interface_desc with subtask invoke (require static)
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/hid_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/hid_host.h b/tinyusb/class/hid_host.h
index af2805681..96f73cddd 100644
--- a/tinyusb/class/hid_host.h
+++ b/tinyusb/class/hid_host.h
@@ -96,7 +96,7 @@ static inline void hidh_init(void)
void hidh_init(void);
#endif
-tusb_error_t hidh_install_subtask(uint8_t dev_addr, tusb_descriptor_interface_t const *descriptor, uint16_t *p_length) ATTR_WARN_UNUSED_RESULT;
+tusb_error_t hidh_install_subtask(uint8_t dev_addr, uint8_t const *descriptor, uint16_t *p_length) ATTR_WARN_UNUSED_RESULT;
#endif