summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/action_tapping.c
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-04-17 19:54:32 +0200
committerIBNobody <ibnobody@gmail.com>2016-04-17 19:54:32 +0200
commitd5b72e7bde5ede25f7d5699b50b7d9eb6f31ba92 (patch)
tree906fb97e49f1db6e3ddbbbca07cb3ff930d187d6 /tmk_core/common/action_tapping.c
parentc940e87235c9fe26f5c7451464af54a493270a68 (diff)
downloadqmk_firmware-d5b72e7bde5ede25f7d5699b50b7d9eb6f31ba92.tar.gz
qmk_firmware-d5b72e7bde5ede25f7d5699b50b7d9eb6f31ba92.tar.xz
Fixed many compiler warnings related to print being disabled
Diffstat (limited to 'tmk_core/common/action_tapping.c')
-rw-r--r--tmk_core/common/action_tapping.c11
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) {