[Erez & Jack] Optimizes shift_interrupted array

daktil_thumb_popravljen
Erez Zukerman 2016-05-24 23:48:46 -04:00
parent 1237025963
commit 8bc69afc63
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ uint8_t chord_key_down = 0;
static uint8_t input_mode; static uint8_t input_mode;
#endif #endif
static bool shift_interrupted[] = {0, 0, 0}; static bool shift_interrupted[2] = {0, 0};
bool keys_chord(uint8_t keys[]) { bool keys_chord(uint8_t keys[]) {
uint8_t keys_size = sizeof(keys)/sizeof(keys[0]); uint8_t keys_size = sizeof(keys)/sizeof(keys[0]);