diff options
| author | hathach <[email protected]> | 2018-03-02 19:00:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-02 19:00:03 +0700 |
| commit | bc9274591fe4b1b21cbe85aa9a4ebf4e8d2723e9 (patch) | |
| tree | 6cd40c5bd3db6dbfd272d425e62a4438a8245885 /tinyusb/class/hid_host.c | |
| parent | acb01b5a2477b483b5fa51c325e9e80839b4f033 (diff) | |
clean up compiler
Diffstat (limited to 'tinyusb/class/hid_host.c')
| -rw-r--r-- | tinyusb/class/hid_host.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tinyusb/class/hid_host.c b/tinyusb/class/hid_host.c index 1263d4cf1..0f39a0487 100644 --- a/tinyusb/class/hid_host.c +++ b/tinyusb/class/hid_host.c @@ -54,7 +54,6 @@ //--------------------------------------------------------------------+
// HID Interface common functions
//--------------------------------------------------------------------+
-static inline tusb_error_t hidh_interface_open(uint8_t dev_addr, uint8_t interface_number, tusb_descriptor_endpoint_t const *p_endpoint_desc, hidh_interface_info_t *p_hid) ATTR_ALWAYS_INLINE;
static inline tusb_error_t hidh_interface_open(uint8_t dev_addr, uint8_t interface_number, tusb_descriptor_endpoint_t const *p_endpoint_desc, hidh_interface_info_t *p_hid)
{
p_hid->pipe_hdl = hcd_pipe_open(dev_addr, p_endpoint_desc, TUSB_CLASS_HID);
@@ -66,7 +65,6 @@ static inline tusb_error_t hidh_interface_open(uint8_t dev_addr, uint8_t interfa return TUSB_ERROR_NONE;
}
-static inline void hidh_interface_close(hidh_interface_info_t *p_hid) ATTR_ALWAYS_INLINE;
static inline void hidh_interface_close(hidh_interface_info_t *p_hid)
{
(void) hcd_pipe_close(p_hid->pipe_hdl);
@@ -74,7 +72,6 @@ static inline void hidh_interface_close(hidh_interface_info_t *p_hid) }
// called from public API need to validate parameters
-tusb_error_t hidh_interface_get_report(uint8_t dev_addr, void * report, hidh_interface_info_t *p_hid) ATTR_ALWAYS_INLINE;
tusb_error_t hidh_interface_get_report(uint8_t dev_addr, void * report, hidh_interface_info_t *p_hid)
{
//------------- parameters validation -------------//
|
