From e5ee6b68e34754838df2a663f652dbcf8fec2302 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Fri, 24 Apr 2020 12:24:55 +0200 Subject: [PATCH] Fix for loading controllers after reboot. --- MicroDexed.ino | 1 + UI.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index 9913359..59b4782 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -1161,6 +1161,7 @@ void initial_values_from_eeprom(bool init) MicroDexed[instance_id]->setFCController(configuration.dexed[instance_id].fc_range, configuration.dexed[instance_id].fc_assign, configuration.dexed[instance_id].fc_mode); MicroDexed[instance_id]->setBCController(configuration.dexed[instance_id].bc_range, configuration.dexed[instance_id].bc_assign, configuration.dexed[instance_id].bc_mode); MicroDexed[instance_id]->setATController(configuration.dexed[instance_id].at_range, configuration.dexed[instance_id].at_assign, configuration.dexed[instance_id].at_mode); + MicroDexed[instance_id]->controllers.refresh(); MicroDexed[instance_id]->setOPs(configuration.dexed[instance_id].op_enabled); MicroDexed[instance_id]->doRefreshVoice(); diff --git a/UI.hpp b/UI.hpp index e3191bc..f1754e2 100644 --- a/UI.hpp +++ b/UI.hpp @@ -3146,7 +3146,7 @@ void UI_func_eeprom_reset(uint8_t param) if (yesno == true) { LCDML.DISP_clear(); - lcd.print("Firmware reset:"); + lcd.print("EEPROM reset:"); initial_values_from_eeprom(yesno);