Skip to content

Commit

Permalink
Chibios USB protocol: allow overriding RAW Capacity (#16339)
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter93 authored Apr 22, 2022
1 parent 0100629 commit e4942df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tmk_core/protocol/chibios/usb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,12 @@ static usb_driver_configs_t drivers = {
.console_driver = QMK_USB_DRIVER_CONFIG(CONSOLE, 0, true),
#endif
#ifdef RAW_ENABLE
# define RAW_IN_CAPACITY 4
# define RAW_OUT_CAPACITY 4
# ifndef RAW_IN_CAPACITY
# define RAW_IN_CAPACITY 4
# endif
# ifndef RAW_OUT_CAPACITY
# define RAW_OUT_CAPACITY 4
# endif
# define RAW_IN_MODE USB_EP_MODE_TYPE_INTR
# define RAW_OUT_MODE USB_EP_MODE_TYPE_INTR
.raw_driver = QMK_USB_DRIVER_CONFIG(RAW, 0, false),
Expand Down

0 comments on commit e4942df

Please sign in to comment.