Fixed issue with the load reading logic.
This commit is contained in:
parent
a606465425
commit
41cc5b2eef
|
@ -50,13 +50,11 @@ int main(int argc, char **argv)
|
|||
_delay_ms(2500);
|
||||
ZCD_Poll();
|
||||
|
||||
while(true){
|
||||
//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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue