This code can only be active if USB CDC is enabled.

This commit is contained in:
Jeff Epler 2022-11-18 16:05:46 -06:00
parent 406e46f46b
commit afca4cef6d
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -341,7 +341,7 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ
#endif // CIRCUITPY_USB_VENDOR
#if MICROPY_KBD_EXCEPTION
#if MICROPY_KBD_EXCEPTION && CIRCUITPY_USB_CDC
/**
* Callback invoked when received an "wanted" char.