summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErez Zukerman <ezuk@madmimi.com>2016-05-25 05:48:46 +0200
committerErez Zukerman <ezuk@madmimi.com>2016-05-25 05:48:46 +0200
commit8bc69afc633d3e199e3ac0a5bf39e4d255f2ce4a (patch)
treeb9b05f52806629696748e4728a1ed5b414800fb0
parent1237025963484d70bbe5185a790bec6544653ccc (diff)
downloadqmk_firmware-8bc69afc633d3e199e3ac0a5bf39e4d255f2ce4a.tar.gz
qmk_firmware-8bc69afc633d3e199e3ac0a5bf39e4d255f2ce4a.tar.xz
[Erez & Jack] Optimizes shift_interrupted array
-rw-r--r--quantum/quantum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 753dde5c6..c53fb19b4 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -60,7 +60,7 @@ uint8_t chord_key_down = 0;
static uint8_t input_mode;
#endif
-static bool shift_interrupted[] = {0, 0, 0};
+static bool shift_interrupted[2] = {0, 0};
bool keys_chord(uint8_t keys[]) {
uint8_t keys_size = sizeof(keys)/sizeof(keys[0]);