summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorScott Shawcroft <[email protected]>2022-03-03 21:57:44 -0800
committerScott Shawcroft <[email protected]>2022-03-03 21:57:44 -0800
commiteb6b5d1219562e417d879c6d13e0a19eef169ad7 (patch)
tree62dcd22e005720855c6f3d7bcaaa8488672912ea /src/host
parent2cd73ca60234748a15b74a2c346778fcb4f4ee61 (diff)
Unused ok
Diffstat (limited to 'src/host')
-rw-r--r--src/host/usbh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index a3c6c3a04..a61f40910 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -282,8 +282,9 @@ uint8_t tuh_i_product_get(uint8_t dev_addr) {
static tuh_complete_cb_t string_get_cb;
static bool string_get_complete (uint8_t dev_addr, tusb_control_request_t const * request, xfer_result_t result) {
+ (void) dev_addr;
+ (void) request;
if (string_get_cb != NULL) {
- TU_LOG2("string get done %d\r\n", result);
string_get_cb(result);
}
string_get_cb = NULL;