mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-24 01:43:10 +02:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
@@ -356,8 +356,8 @@ static void send_mouse(report_mouse_t *report) {
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef EXTRAKEY_ENABLE
|
||||
static void send_extra(uint8_t report_id, uint16_t data) {
|
||||
#ifdef EXTRAKEY_ENABLE
|
||||
static uint8_t last_id = 0;
|
||||
static uint16_t last_data = 0;
|
||||
if ((report_id == last_id) && (data == last_data)) return;
|
||||
@@ -369,8 +369,8 @@ static void send_extra(uint8_t report_id, uint16_t data) {
|
||||
if (usbInterruptIsReadyShared()) {
|
||||
usbSetInterruptShared((void *)&report, sizeof(report_extra_t));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void send_digitizer(report_digitizer_t *report) {
|
||||
#ifdef DIGITIZER_ENABLE
|
||||
|
||||
Reference in New Issue
Block a user