Fixed issue where green LED was only occasionally off, should have been the opposite
This commit is contained in:
1 parent
02d9ac3003
commit
b8a5f8b8a5
1 file changed
+2
-2
@@ -24,8 +24,8 @@ __interrupt void timer_b0(void)
|
|||||||
if(status_count == 0){
|
if(status_count == 0){
|
||||||
status_count = TELEM_STATUS_COUNT;
|
status_count = TELEM_STATUS_COUNT;
|
||||||
status_flag = TRUE;
|
status_flag = TRUE;
|
||||||
P8OUT &= ~LEDG; // Turn off the green LED
|
|
||||||
}else{
|
|
||||||
P8OUT |= LEDG; // Turn on the green LED
|
P8OUT |= LEDG; // Turn on the green LED
|
||||||
|
}else{
|
||||||
|
P8OUT &= ~LEDG; // Turn off the green LED
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user