diff --git a/src/Relays/Relays.c b/src/Relays/Relays.c index b366a88..9141fb7 100644 --- a/src/Relays/Relays.c +++ b/src/Relays/Relays.c @@ -25,4 +25,6 @@ void Relay_Disable(Relay *relay) { (*(uint8_t *)relay->output_port) &= ~(1 << (relay->output_pin)); } + + void Relay_DisableForPowerCycle(Relay *relay) { relay->disabled_fpc = true; } diff --git a/src/Relays/Relays.h b/src/Relays/Relays.h index 136c4c7..2d2809b 100644 --- a/src/Relays/Relays.h +++ b/src/Relays/Relays.h @@ -42,12 +42,6 @@ void Relay_MeasureMakeTime(Relay *relay); */ void Relay_MeasureBreakTime(Relay *relay); -/** - * Changes the current state to the opposite one. - * @param relay A pointer to an Relay stucture instance. - */ -void Relay_ToggleState(Relay *relay); - /** * Enables or activates the relay. If the relay has been disabled * for this power cycle it will do nothing.