From 57a7cee62a4096eaf63077b3567e6b62f9bb7d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sun, 11 Feb 2018 22:25:29 +0100 Subject: [PATCH] Remove debug statements from updateActiveUsbReports() --- left/build/.gitignore | 1 + right/src/usb_report_updater.c | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/left/build/.gitignore b/left/build/.gitignore index 1ae580b..7f866a1 100644 --- a/left/build/.gitignore +++ b/left/build/.gitignore @@ -1,3 +1,4 @@ /.settings/ /uhk60-left_debug/ /uhk60-left_release/ +/uhk60-left_release/ diff --git a/right/src/usb_report_updater.c b/right/src/usb_report_updater.c index b466067..0fd8b10 100644 --- a/right/src/usb_report_updater.c +++ b/right/src/usb_report_updater.c @@ -265,10 +265,8 @@ static uint8_t secondaryRoleSlotId; static uint8_t secondaryRoleKeyId; static secondary_role_t secondaryRole; -#define pos 35 void updateActiveUsbReports(void) { - SetDebugBufferUint32(pos, 1); memset(activeMouseStates, 0, ACTIVE_MOUSE_STATES_COUNT); static uint8_t previousModifiers = 0; @@ -300,7 +298,6 @@ void updateActiveUsbReports(void) memcpy(&ActiveUsbSystemKeyboardReport, &MacroSystemKeyboardReport, sizeof MacroSystemKeyboardReport); return; } - SetDebugBufferUint32(pos, 2); for (uint8_t slotId=0; slotIdprevious = keyState->current; } } - SetDebugBufferUint32(pos, 4); processMouseActions(); - SetDebugBufferUint32(pos, 5); // When a layer switcher key gets pressed along with another key that produces some modifiers // and the accomanying key gets released then keep the related modifiers active a long as the @@ -372,7 +367,6 @@ void updateActiveUsbReports(void) previousModifiers = ActiveUsbBasicKeyboardReport->modifiers; previousLayer = activeLayer; - SetDebugBufferUint32(pos, 7); } bool UsbBasicKeyboardReportEverSent = false;