123

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
173:7f938afb0447
Parent:
167:bedc0a9d559a
Child:
177:672ef279c8e0
--- a/DeviceUserProtocolDecoder.c	Fri Jun 17 13:54:50 2016 +0000
+++ b/DeviceUserProtocolDecoder.c	Sun Jun 19 03:54:35 2016 +0000
@@ -655,28 +655,23 @@
       
       case 4://Modulator switch
         //device.plcs.modulator.state.enabled = value;
-        device.plcs.sequencer.state.enabled = value;
+        device.sequencer.output.analog.state.enabled = value;
       break;
       
       case 5://Dither drive pulse width/output frequency loop switch
-        device.dither.carrier.state.enabled = value;
+        device.dither.amplitude.state.enabled = value;
       break;
       
       case 6://Dither drive oscillation frequency loop switch
-        device.dither.oscillation.state.enabled = value;
+        device.dither.frequency.state.enabled = value;
       break;
       
       case 7: //All loops switch
         device.isacs.regulator.state.enabled = value;
-        
         device.plcs.regulator.state.enabled = value;
-        
-        //device.plcs.modulator.state.enabled = value;
-        device.plcs.sequencer.state.enabled = value;
-        
-        device.dither.carrier.state.enabled = value;
-        
-        device.dither.oscillation.state.enabled = value;
+        device.sequencer.output.analog.state.enabled = value;
+        device.dither.amplitude.state.enabled = value;
+        device.dither.frequency.state.enabled = value;
       break;
     }
   } else {