Fixed issue where green LED was only occasionally off, should have been the opposite

This commit is contained in:
William Miceli
2021-05-18 13:04:47 -04:00
parent 02d9ac3003
commit b8a5f8b8a5

View File

@@ -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
}
}