Dmitry Kovalev
/
LGfiltr
forkd
Fork of LGstaandart by
Diff: PLC_reg.c
- Revision:
- 231:079835d508ef
- Parent:
- 129:406995a91322
diff -r 8f7eeb47ca51 -r 079835d508ef PLC_reg.c --- a/PLC_reg.c Tue Jan 09 13:25:45 2018 +0000 +++ b/PLC_reg.c Thu Jan 25 13:59:43 2018 +0000 @@ -289,7 +289,7 @@ LPC_GPIO0->FIOSET = (1<<26); else LPC_GPIO0->FIOCLR = (1<<26); */ - DAC_Output(sin_func[index]); //output to DAC + // DAC_Output(sin_func[index]); //output to DAC return (sin_func[index]); } // clc_WP_sin @@ -310,7 +310,7 @@ static int SampleAndHoldOut = 0; static int WP_PhasDet_integr = 0;//, WP_PhasDetector = 0; - if (IntegrateTime == DEVICE_SAMPLE_RATE_uks) { + if (IntegrateTime == 1/*DEVICE_SAMPLE_RATE_uks*/) { SampleAndHoldOut = (int)(WP_PhasDet_integr >> PLC_PHASE_DET_SHIFT); WP_PhasDet_integr = 0; } else {