diff options
author | Erez Zukerman <ezuk@madmimi.com> | 2016-05-24 23:48:46 -0400 |
---|---|---|
committer | Erez Zukerman <ezuk@madmimi.com> | 2016-05-24 23:48:46 -0400 |
commit | 8bc69afc633d3e199e3ac0a5bf39e4d255f2ce4a (patch) | |
tree | b9b05f52806629696748e4728a1ed5b414800fb0 | |
parent | 1237025963484d70bbe5185a790bec6544653ccc (diff) | |
download | qmk_firmware-8bc69afc633d3e199e3ac0a5bf39e4d255f2ce4a.tar.gz qmk_firmware-8bc69afc633d3e199e3ac0a5bf39e4d255f2ce4a.zip |
[Erez & Jack] Optimizes shift_interrupted array
-rw-r--r-- | quantum/quantum.c | 2 |
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]); |