summaryrefslogtreecommitdiff
path: root/tmk_core/common/action_tapping.c
diff options
context:
space:
mode:
authorNicholas Keene <git@nicholaskeene.com>2016-05-02 21:35:58 -0500
committerNicholas Keene <git@nicholaskeene.com>2016-05-02 21:35:58 -0500
commit8b0274f60a47eae523e28b5a7c6c7f581b6d605a (patch)
treeb8c6194d89712ddaf5e22aef85274c12c53cb2f1 /tmk_core/common/action_tapping.c
parent1076c2b1226ed049a364971bf8e1edcd9ed45f6d (diff)
parent2c070163ffffffde546fb00acaa2fbb96b93da64 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'tmk_core/common/action_tapping.c')
-rw-r--r--tmk_core/common/action_tapping.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmk_core/common/action_tapping.c b/tmk_core/common/action_tapping.c
index 826c233096..e6343e6da7 100644
--- a/tmk_core/common/action_tapping.c
+++ b/tmk_core/common/action_tapping.c
@@ -139,7 +139,7 @@ bool process_tapping(keyrecord_t *keyp)
if (event.pressed) {
tapping_key.tap.interrupted = true;
}
- // enqueue
+ // enqueue
return false;
}
}
@@ -324,6 +324,7 @@ bool waiting_buffer_typed(keyevent_t event)
return false;
}
+__attribute__((unused))
bool waiting_buffer_has_anykey_pressed(void)
{
for (uint8_t i = waiting_buffer_tail; i != waiting_buffer_head; i = (i + 1) % WAITING_BUFFER_SIZE) {