Skip to content

Commit afca4ce

Browse files
committed
This code can only be active if USB CDC is enabled.
1 parent 406e46f commit afca4ce

File tree

1 file changed

+1
-1
lines changed
  • supervisor/shared/usb

1 file changed

+1
-1
lines changed

supervisor/shared/usb/usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ
341341
#endif // CIRCUITPY_USB_VENDOR
342342

343343

344-
#if MICROPY_KBD_EXCEPTION
344+
#if MICROPY_KBD_EXCEPTION && CIRCUITPY_USB_CDC
345345

346346
/**
347347
* Callback invoked when received an "wanted" char.

0 commit comments

Comments
 (0)