diff options
author | 2016-04-18 08:03:22 +0200 | |
---|---|---|
committer | 2016-04-18 08:03:22 +0200 | |
commit | 9cc39156f7ac696c4561a8fa4e01bbcc9addc53e (patch) | |
tree | af166a966b16bb1714551265965b3660fa0c26ba /tmk_core/common/action_tapping.c | |
parent | 6732d6cf1a3268ece981c6b0c07a1b9e0f61adbe (diff) | |
parent | d94960be5b32b6a4019b822550ae09cf802bfcd7 (diff) | |
download | qmk_firmware-9cc39156f7ac696c4561a8fa4e01bbcc9addc53e.tar.gz |
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.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tmk_core/common/action_tapping.c b/tmk_core/common/action_tapping.c index 826c23309..6b6fa1dfe 100644 --- a/tmk_core/common/action_tapping.c +++ b/tmk_core/common/action_tapping.c @@ -6,11 +6,11 @@ #include "keycode.h" #include "timer.h" -#ifdef DEBUG_ACTION +//#ifdef DEBUG_ACTION #include "debug.h" -#else -#include "nodebug.h" -#endif +//#else +//#include "nodebug.h" +//#endif #ifndef NO_ACTION_TAPPING @@ -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) { |