Turn both power transistors explicitly on.

This commit is contained in:
Marco 2022-06-28 04:03:09 +02:00
parent 76ac461516
commit 27b2f0bd87

View File

@ -58,8 +58,13 @@ sm_t bridge_statemachine = {
void brdg_BothGndOn(void)
{
/* Turn both GND transistors on */
setPin(&PORTB, PB6);
setPin(&PORTB, PB4);
/* Turn both PWR transistors off */
unsetPin(&PORTB, PB7);
unsetPin(&PORTB, PB5);
}
void brdg_Hb1GndOn(void)