correct error using local p_interface_desc with subtask invoke (require static)

This commit is contained in:
hathach
2013-02-27 02:14:01 +07:00
parent 4023d07df0
commit 5eca6d69c3
2 changed files with 6 additions and 10 deletions

View File

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