fix: define RAW_EPSIZE fallback so it builds on newer QMK
This commit is contained in:
parent
38a9772364
commit
1b4d8cb698
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@
|
|||
#include "raw_hid.h"
|
||||
#define KG_REPORT_KEY 0x01
|
||||
#define KG_REPORT_LAYER 0x02
|
||||
#ifndef RAW_EPSIZE
|
||||
#define RAW_EPSIZE 32
|
||||
#endif
|
||||
void raw_hid_receive(uint8_t *data, uint8_t length) { (void)data; (void)length; }
|
||||
static void kg_send_key(uint8_t row, uint8_t col, bool pressed) {
|
||||
uint8_t report[RAW_EPSIZE] = {0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue