From 2781207508394bbee4be49422e05292bf0b6c370 Mon Sep 17 00:00:00 2001 From: eliasmagn <28503614+eliasmagn@users.noreply.github.com> Date: Mon, 2 Aug 2021 20:13:34 +0200 Subject: [PATCH] Chenge initial definition of mppt function --- opendps/opendps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opendps/opendps.c b/opendps/opendps.c index d00e75e..688a26b 100644 --- a/opendps/opendps.c +++ b/opendps/opendps.c @@ -447,15 +447,15 @@ static void ui_init(void) /** Initialise the function screens */ uui_init(&func_ui, &g_past); -#ifdef CONFIG_MPPT_ENABLE - func_mppt_init(&func_ui); -#endif // CONFIG_MPPT_ENABLE #ifdef CONFIG_CCCV_ENABLE func_cccv_init(&func_ui); #endif // CONFIG_CCCV_ENABLE #ifdef CONFIG_FUNCGEN_ENABLE func_gen_init(&func_ui); #endif // CONFIG_FUNCGEN_ENABLE + #ifdef CONFIG_MPPT_ENABLE + func_mppt_init(&func_ui); +#endif // CONFIG_MPPT_ENABLE /** Initialise the settings screens */