Fix for loading controllers after reboot.

pull/32/head
Holger Wirtz 5 years ago
parent 64fe6564a0
commit e5ee6b68e3
  1. 1
      MicroDexed.ino
  2. 2
      UI.hpp

@ -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]->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]->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]->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]->setOPs(configuration.dexed[instance_id].op_enabled);
MicroDexed[instance_id]->doRefreshVoice(); MicroDexed[instance_id]->doRefreshVoice();

@ -3146,7 +3146,7 @@ void UI_func_eeprom_reset(uint8_t param)
if (yesno == true) if (yesno == true)
{ {
LCDML.DISP_clear(); LCDML.DISP_clear();
lcd.print("Firmware reset:"); lcd.print("EEPROM reset:");
initial_values_from_eeprom(yesno); initial_values_from_eeprom(yesno);

Loading…
Cancel
Save