diff options
| author | hathach <[email protected]> | 2020-08-07 12:13:13 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-08-07 12:13:13 +0700 |
| commit | 9df8057702fcbc8086b223c164e1734db7beca25 (patch) | |
| tree | 5faef86eca48cc7664ae0b29db3e885edba75bdb /src/device/usbd_control.c | |
| parent | c14c0cfc9fec9101b63df682c5fa5ac0576de0f8 (diff) | |
| parent | c682c30fa6a99a91d02496de39a752b5c96a4634 (diff) | |
Merge branch 'master' into add-app-driver
Diffstat (limited to 'src/device/usbd_control.c')
| -rw-r--r-- | src/device/usbd_control.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/device/usbd_control.c b/src/device/usbd_control.c index 353a66ad1..db0eb70a7 100644 --- a/src/device/usbd_control.c +++ b/src/device/usbd_control.c @@ -32,6 +32,10 @@ #include "device/usbd_pvt.h" #include "dcd.h" +#if CFG_TUSB_DEBUG >= 2 +extern void usbd_driver_print_control_complete_name(bool (*control_complete) (uint8_t, tusb_control_request_t const *)); +#endif + enum { EDPT_CTRL_OUT = 0x00, @@ -192,7 +196,6 @@ bool usbd_control_xfer_cb (uint8_t rhport, uint8_t ep_addr, xfer_result_t result if ( _ctrl_xfer.complete_cb ) { #if CFG_TUSB_DEBUG >= 2 - extern void usbd_driver_print_control_complete_name(bool (*control_complete) (uint8_t, tusb_control_request_t const *)); usbd_driver_print_control_complete_name(_ctrl_xfer.complete_cb); #endif |
