- vHf = UC->arg[1] & 0xffff;;
- peakf = UC->arg[2] & 0xffff;
- peakv = UC->arg[2] >> 16;
+ vHf = UC->arg[1] & 0xffff;;
+ peakf = UC->arg[2] & 0xffff;
+ peakv = UC->arg[2] >> 16;
+
+ //Reset delta trigger every 3:d time
+
+ if ( deltaReset == 4){
+ delta125[0] = vLf125;
+ delta134[0] = vLf134;
+ deltahf[0] = vHf;
+ } else if ( deltaReset == 2){
+ delta125[1] = vLf125;
+ delta134[1] = vLf134;
+ deltahf[1] = vHf;
+ }
+
+ if ( deltaReset == 0){
+
+ }
+