From 9397aa2348411df955f774264e06d049bd26836d Mon Sep 17 00:00:00 2001 From: Denis Date: Mon, 18 Dec 2023 23:41:32 +0100 Subject: [PATCH] whoopsie... --- settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.c b/settings.c index dbaa8ff..609923c 100644 --- a/settings.c +++ b/settings.c @@ -20,7 +20,7 @@ void load_in_config(dev_in_settings_t *const out_conf, const char* const filepat } int rumble_on_mode_switch; - if (config_lookup_bool(&cfg, "rumble_on_mode_switch", &enable_qam) != CONFIG_FALSE) { + if (config_lookup_bool(&cfg, "rumble_on_mode_switch", &rumble_on_mode_switch) != CONFIG_FALSE) { out_conf->rumble_on_mode_switch = rumble_on_mode_switch; } else { fprintf(stderr, "rumble_on_mode_switch (bool) configuration not found. Default value will be used.\n");