shutdown bridge when inverter is stopped

This commit is contained in:
Wolfgang Hottgenroth
2016-10-01 23:58:08 +02:00
parent 5e982f8926
commit ff570757f9

View File

@ -86,6 +86,7 @@ void inverterExec() {
if (running) {
// stop
TA0CTL = MC_0;
P2OUT &= ~BIT1;
running = false;
}
}