diff --git a/src/main.c b/src/main.c index 9dceff3..57993f1 100644 --- a/src/main.c +++ b/src/main.c @@ -49,14 +49,12 @@ int main(int argc, char **argv) //The G1 pin is low at this point. _delay_ms(2500); ZCD_Poll(); - - //Enable pins are enabled(set high) if the ADCLOAD value is valid. - Load_HandleLoadPortA(ADC_LOAD1, EN1); - Load_HandleLoadPortB(ADC_LOAD2, EN2); - Load_HandleLoadPortB(ADC_LOAD3, EN3); while(true){ - //; //Do nothing until new Power cycle/reset occurs + //Enable pins are enabled(set high) if the ADCLOAD value is valid. + Load_HandleLoadPortA(ADC_LOAD1, EN1); + Load_HandleLoadPortB(ADC_LOAD2, EN2); + Load_HandleLoadPortB(ADC_LOAD3, EN3); } } }