summaryrefslogtreecommitdiff
path: root/keyboards/handwired/tractyl_manuform/tractyl_manuform.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/tractyl_manuform/tractyl_manuform.c')
-rw-r--r--keyboards/handwired/tractyl_manuform/tractyl_manuform.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/keyboards/handwired/tractyl_manuform/tractyl_manuform.c b/keyboards/handwired/tractyl_manuform/tractyl_manuform.c
index 033146134d..0ae49b6397 100644
--- a/keyboards/handwired/tractyl_manuform/tractyl_manuform.c
+++ b/keyboards/handwired/tractyl_manuform/tractyl_manuform.c
@@ -247,7 +247,7 @@ static bool has_shift_mod(void) {
* - default DPI: internal table index/actual DPI
* - sniping DPI: internal table index/actual DPI
*/
-static void debug_charybdis_config_to_console(charybdis_config_t* config) {
+__attribute__((unused)) static void debug_charybdis_config_to_console(charybdis_config_t* config) {
# ifdef CONSOLE_ENABLE
dprintf("(charybdis) process_record_kb: config = {\n"
"\traw = 0x%04X,\n"
@@ -264,7 +264,6 @@ static void debug_charybdis_config_to_console(charybdis_config_t* config) {
bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
if (!process_record_user(keycode, record)) {
- debug_charybdis_config_to_console(&g_charybdis_config);
return false;
}
# ifndef NO_CHARYBDIS_KEYCODES
@@ -321,7 +320,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
pointing_device_send();
}
# endif // !MOUSEKEY_ENABLE
- debug_charybdis_config_to_console(&g_charybdis_config);
return true;
}