Turn both power transistors explicitly on.
This commit is contained in:
parent
76ac461516
commit
27b2f0bd87
@ -58,8 +58,13 @@ sm_t bridge_statemachine = {
|
|||||||
|
|
||||||
void brdg_BothGndOn(void)
|
void brdg_BothGndOn(void)
|
||||||
{
|
{
|
||||||
|
/* Turn both GND transistors on */
|
||||||
setPin(&PORTB, PB6);
|
setPin(&PORTB, PB6);
|
||||||
setPin(&PORTB, PB4);
|
setPin(&PORTB, PB4);
|
||||||
|
|
||||||
|
/* Turn both PWR transistors off */
|
||||||
|
unsetPin(&PORTB, PB7);
|
||||||
|
unsetPin(&PORTB, PB5);
|
||||||
}
|
}
|
||||||
|
|
||||||
void brdg_Hb1GndOn(void)
|
void brdg_Hb1GndOn(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user