X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Freport.h;h=0c799eca39af5581cb22912f24ea749524afc11a;hb=22ad6459b1a9ddb5e29a553f02c0cf44c53c4b83;hp=f6c0a315de9307de6c62ac6e2489e3ce2e62e750;hpb=d311fd8d1a0af3b767d26b520d399bf0db22f058;p=qmk_firmware.git diff --git a/tmk_core/common/report.h b/tmk_core/common/report.h index f6c0a315d..0c799eca3 100644 --- a/tmk_core/common/report.h +++ b/tmk_core/common/report.h @@ -84,6 +84,11 @@ along with this program. If not, see . # define KEYBOARD_REPORT_SIZE NKRO_EPSIZE # define KEYBOARD_REPORT_KEYS (NKRO_EPSIZE - 2) # define KEYBOARD_REPORT_BITS (NKRO_EPSIZE - 1) +#elif defined(PROTOCOL_CHIBIOS) && defined(NKRO_ENABLE) +# include "protocol/chibios/usb_main.h" +# define KEYBOARD_REPORT_SIZE NKRO_EPSIZE +# define KEYBOARD_REPORT_KEYS (NKRO_EPSIZE - 2) +# define KEYBOARD_REPORT_BITS (NKRO_EPSIZE - 1) #else # define KEYBOARD_REPORT_SIZE 8