diff options
| author | hathach <[email protected]> | 2018-03-29 13:42:55 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-29 13:42:55 +0700 |
| commit | d88ae5cc16ad5e1d8c4ffbebe3a465123b340aef (patch) | |
| tree | 95f362cf4b2e8b01906c1fdcb194f70429457348 /tinyusb/class/hid | |
| parent | 0a162a7d28ca5ba9aabc9a6be397af00ff6f42e6 (diff) | |
rename ASSERT_STATUS to ASSERT_ERR, merge assertion.h to verify.h
Diffstat (limited to 'tinyusb/class/hid')
| -rw-r--r-- | tinyusb/class/hid/hid_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/hid/hid_host.c b/tinyusb/class/hid/hid_host.c index a65783182..06e87210b 100644 --- a/tinyusb/class/hid/hid_host.c +++ b/tinyusb/class/hid/hid_host.c @@ -80,7 +80,7 @@ tusb_error_t hidh_interface_get_report(uint8_t dev_addr, void * report, hidh_int VERIFY (report, TUSB_ERROR_INVALID_PARA);
TU_ASSSERT (!hcd_pipe_is_busy(p_hid->pipe_hdl), TUSB_ERROR_INTERFACE_IS_BUSY);
- ASSERT_STATUS( hcd_pipe_xfer(p_hid->pipe_hdl, report, p_hid->report_size, true) ) ;
+ ASSERT_ERR( hcd_pipe_xfer(p_hid->pipe_hdl, report, p_hid->report_size, true) ) ;
return TUSB_ERROR_NONE;
}
|
