File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -791,6 +791,8 @@ void enableOutputProtectionCouple(bool enable) {
791
791
792
792
devConf.flags .outputProtectionCouple = outputProtectionCouple;
793
793
794
+ saveDevice ();
795
+
794
796
if (devConf.flags .outputProtectionCouple ) {
795
797
event_queue::pushEvent (event_queue::EVENT_INFO_OUTPUT_PROTECTION_COUPLED);
796
798
} else {
@@ -811,6 +813,8 @@ void enableShutdownWhenProtectionTripped(bool enable) {
811
813
812
814
devConf.flags .shutdownWhenProtectionTripped = shutdownWhenProtectionTripped;
813
815
816
+ saveDevice ();
817
+
814
818
if (devConf.flags .shutdownWhenProtectionTripped ) {
815
819
event_queue::pushEvent (
816
820
event_queue::EVENT_INFO_SHUTDOWN_WHEN_PROTECTION_TRIPPED_ENABLED);
@@ -833,6 +837,8 @@ void enableForceDisablingAllOutputsOnPowerUp(bool enable) {
833
837
834
838
devConf.flags .forceDisablingAllOutputsOnPowerUp = forceDisablingAllOutputsOnPowerUp;
835
839
840
+ saveDevice ();
841
+
836
842
if (devConf.flags .forceDisablingAllOutputsOnPowerUp ) {
837
843
event_queue::pushEvent (
838
844
event_queue::EVENT_INFO_FORCE_DISABLING_ALL_OUTPUTS_ON_POWERUP_ENABLED);
@@ -857,6 +863,8 @@ void lockFrontPanel(bool lock) {
857
863
858
864
devConf.flags .isFrontPanelLocked = isFrontPanelLocked;
859
865
866
+ saveDevice ();
867
+
860
868
if (devConf.flags .isFrontPanelLocked ) {
861
869
event_queue::pushEvent (event_queue::EVENT_INFO_FRONT_PANEL_LOCKED);
862
870
} else {
You can’t perform that action at this time.
0 commit comments