Subversion Repositories NaviCtrl

Rev

Rev 136 | Rev 141 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 136 Rev 139
Line 239... Line 239...
239
        ServoParams.RollMax = 205;             
239
        ServoParams.RollMax = 205;             
Line 240... Line 240...
240
 
240
 
241
        UART1_PutString("ok");
241
        UART1_PutString("ok");
Line -... Line 242...
-
 
242
}
-
 
243
 
-
 
244
void TIMER2_Deinit(void)
-
 
245
{
-
 
246
        VIC_ITCmd(TIM2_ITLine, DISABLE);
-
 
247
        TIM_CounterCmd(TIM2, TIM_STOP); // stop the timer
-
 
248
        TIM_ITConfig(TIM2, TIM_IT_OC1|TIM_IT_OC2, DISABLE);  // disable interrupts for the OC 1 & 2