mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Unused ok
This commit is contained in:
parent
2cd73ca602
commit
eb6b5d1219
@ -282,8 +282,9 @@ uint8_t tuh_i_product_get(uint8_t dev_addr) {
|
|||||||
static tuh_complete_cb_t string_get_cb;
|
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) {
|
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) {
|
if (string_get_cb != NULL) {
|
||||||
TU_LOG2("string get done %d\r\n", result);
|
|
||||||
string_get_cb(result);
|
string_get_cb(result);
|
||||||
}
|
}
|
||||||
string_get_cb = NULL;
|
string_get_cb = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user