From 5be5743fe360a2a4944adaa36e921bdb48968357 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Sat, 14 Sep 2024 13:10:13 -0700 Subject: [PATCH] Removed the outdated function calls to use new interface --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 27c0eba..392f292 100644 --- a/src/main.c +++ b/src/main.c @@ -35,15 +35,15 @@ int main(int argc, char **argv) { Enable_SetPinsLow(); - TriacOut_SetupPins(); + EnOut_SetupPins(); ADC_Setup(); while(true){ for(int i = 0; i < GatePulsesQty; i++){ ZCD_Poll(); _delay_us(Tau); - TriacOut_SetAllHigh(); //Only G1 exists in High power mode - TriacOut_PulsePins(GatePulses[i]); + EnOut_SetAllHigh(); //Only G1 exists in High power mode + EnOut_PulsePins(GatePulses[i]); } //The G1 pin is low at this point.