From 3561906ebbc330191e938fee249b02b9c057cfde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sun, 26 Feb 2017 02:05:36 +0100 Subject: [PATCH] Remove PreviousKeyStates for the time being. --- right/src/action.c | 2 -- right/src/main.c | 1 - 2 files changed, 3 deletions(-) diff --git a/right/src/action.c b/right/src/action.c index d5ba4f5..092f410 100644 --- a/right/src/action.c +++ b/right/src/action.c @@ -108,7 +108,5 @@ void UpdateActiveUsbReports() { break; } } - - memcpy(PreviousKeyStates[slotId], CurrentKeyStates[slotId], MAX_KEY_COUNT_PER_MODULE); } } diff --git a/right/src/main.c b/right/src/main.c index 6d84173..7308843 100644 --- a/right/src/main.c +++ b/right/src/main.c @@ -48,7 +48,6 @@ key_matrix_t KeyMatrix = { #endif }; -uint8_t PreviousKeyStates[SLOT_COUNT][MAX_KEY_COUNT_PER_MODULE]; uint8_t CurrentKeyStates[SLOT_COUNT][MAX_KEY_COUNT_PER_MODULE]; static const uint8_t testData[] =