From b8a5f8b8a57114407aee78834c5d5e5a52c0f11a Mon Sep 17 00:00:00 2001 From: William Miceli Date: Tue, 18 May 2021 13:04:47 -0400 Subject: [PATCH] Fixed issue where green LED was only occasionally off, should have been the opposite --- Telem_Debug/Debug_BlinkyLED-Advanced/interrupts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telem_Debug/Debug_BlinkyLED-Advanced/interrupts.c b/Telem_Debug/Debug_BlinkyLED-Advanced/interrupts.c index ba30c68..5db50eb 100644 --- a/Telem_Debug/Debug_BlinkyLED-Advanced/interrupts.c +++ b/Telem_Debug/Debug_BlinkyLED-Advanced/interrupts.c @@ -24,8 +24,8 @@ __interrupt void timer_b0(void) if(status_count == 0){ status_count = TELEM_STATUS_COUNT; status_flag = TRUE; - P8OUT &= ~LEDG; // Turn off the green LED - }else{ P8OUT |= LEDG; // Turn on the green LED + }else{ + P8OUT &= ~LEDG; // Turn off the green LED } }