Fixed issue with the load reading logic.

This commit is contained in:
jakeg00dwin 2024-08-13 17:32:55 -07:00
parent a606465425
commit 41cc5b2eef
1 changed files with 4 additions and 6 deletions

View File

@ -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
}
}
}