1
0
Fork 0

[Erez & Jack] Optimizes shift_interrupted array

This commit is contained in:
Erez Zukerman 2016-05-24 23:48:46 -04:00
parent 1237025963
commit 8bc69afc63

View file

@ -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]);