diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-04-17 18:15:35 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-17 18:15:35 -0400 |
commit | e0ab1dcf4c6e97b81e4ea4c2521163e6917ef838 (patch) | |
tree | b50d32f3d08965a3967ad78cf65490e63e894a13 /tmk_core/common/action_tapping.c | |
parent | ce463ef424c5bd26b84ead7de5f31eab366f98eb (diff) | |
parent | 23231fa577f7c6c585124226a83f21a7668e62dd (diff) |
merging
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 826c233096..6b6fa1dfe2 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) { |