As reported in this topic (sending samsung tv raw ir codes) sometimes the led stays on after transmitting.
I see that the library defines these macros:
#define TIMER_ENABLE_PWM (TA1CTL = TASSEL_2 + MC_1) // SMCLK, Up mode
#define TIMER_DISABLE_PWM (TA1CTL = TASSEL_2 + MC_0) // SMCLK, Stop mode
#define TIMER_ENABLE_INTR ({ /*TA1CTL |= TAIE;*/ TA1CCTL0 |= CCIE;}) // SH 071112
#define TIMER_DISABLE_INTR ({TA1CTL &= ~TAIE; TA1CCTL0 &= ~CCIE;})
#define TIMER_INTR_NAME TIMER1_A0_VECTOR
#define TIMER_CONFIG_KHZ(val) ({ \
TA1CCTL0 |= OUTMOD_4; \
TA1CCR0 = FOSC/val/2; \
})
and to send a space it uses TIMER_DISABLE_PWM.
Now, I don't know exactly how the timers in a msp430 work, but OUTMOD_4 is Toggle and MC_0 stops the timer.
Is it possible that if it is stopped when the led is on it will stay on?