summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorErez Zukerman <ezuk@madmimi.com>2016-05-24 23:48:46 -0400
committerErez Zukerman <ezuk@madmimi.com>2016-05-24 23:48:46 -0400
commit8bc69afc633d3e199e3ac0a5bf39e4d255f2ce4a (patch)
treeb9b05f52806629696748e4728a1ed5b414800fb0 /quantum
parent1237025963484d70bbe5185a790bec6544653ccc (diff)
[Erez & Jack] Optimizes shift_interrupted array
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 753dde5c66..c53fb19b4b 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]);