Fixed issue with logic
This commit is contained in:
parent
270856d85d
commit
73e99fc3b9
|
@ -53,12 +53,11 @@ int main(int argc, char **argv)
|
|||
ZCD_Poll();
|
||||
TriacOut_SetupPins();
|
||||
|
||||
//Constantly ensure the loads are in a valid range.
|
||||
while(true){
|
||||
Load_HandleLoadPortA(ADC_LOAD1, 1);
|
||||
Load_HandleLoadPortB(ADC_LOAD2, 3);
|
||||
Load_HandleLoadPortB(ADC_LOAD3, 2);
|
||||
|
||||
while(true){
|
||||
; //Do nothing until new Power cycle/reset occurs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue