summaryrefslogtreecommitdiff
path: root/app/src/behaviors/behavior_reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/behaviors/behavior_reset.c')
-rw-r--r--app/src/behaviors/behavior_reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/behaviors/behavior_reset.c b/app/src/behaviors/behavior_reset.c
index d1233a5..97d0a1d 100644
--- a/app/src/behaviors/behavior_reset.c
+++ b/app/src/behaviors/behavior_reset.c
@@ -24,7 +24,7 @@ static int behavior_reset_init(struct device *dev) { return 0; };
static int on_keymap_binding_pressed(struct zmk_behavior_binding *binding,
struct zmk_behavior_binding_event event) {
struct device *dev = device_get_binding(binding->behavior_dev);
- const struct behavior_reset_config *cfg = dev->config_info;
+ const struct behavior_reset_config *cfg = dev->config;
// TODO: Correct magic code for going into DFU?
// See