From 40e0496649cfa0e6611b365772be785329db865a Mon Sep 17 00:00:00 2001 From: Cody McGinnis Date: Mon, 14 Sep 2020 10:32:32 -0400 Subject: [PATCH] fix: make log statements match actual happenings --- app/src/behaviors/behavior_simple_macro.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/behaviors/behavior_simple_macro.c b/app/src/behaviors/behavior_simple_macro.c index f8aa6569..499b7f6c 100644 --- a/app/src/behaviors/behavior_simple_macro.c +++ b/app/src/behaviors/behavior_simple_macro.c @@ -55,7 +55,7 @@ static int on_keymap_binding_pressed(struct device *dev, u32_t position, u32_t _ const struct behavior_simple_macro_config *cfg = dev->config_info; if (cfg->mode == ZMK_BHV_SIMPLE_MACRO_MODE_KEY_DOWN) { - LOG_DBG("tapping on key up"); + LOG_DBG("tapping on key down"); for (int index = 0; index < cfg->behavior_count; index++) { struct device *behavior = device_get_binding(cfg->behaviors[index].behavior_dev); if (behavior) { @@ -88,7 +88,7 @@ static int on_keymap_binding_released(struct device *dev, u32_t position, u32_t const struct behavior_simple_macro_config *cfg = dev->config_info; if (cfg->mode == ZMK_BHV_SIMPLE_MACRO_MODE_KEY_UP) { - LOG_DBG("tapping on key down"); + LOG_DBG("tapping on key up"); for (int index = 0; index < cfg->behavior_count; index++) { struct device *behavior = device_get_binding(cfg->behaviors[index].behavior_dev); if (behavior) {