From ff570757f9e8e163b562c1fee88742a94563dcf1 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sat, 1 Oct 2016 23:58:08 +0200 Subject: [PATCH] shutdown bridge when inverter is stopped --- src/inverter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/inverter.c b/src/inverter.c index ec7a964..45eaab2 100644 --- a/src/inverter.c +++ b/src/inverter.c @@ -86,6 +86,7 @@ void inverterExec() { if (running) { // stop TA0CTL = MC_0; + P2OUT &= ~BIT1; running = false; } }