[Taranis] Cosmetics

This commit is contained in:
bsongis@gmail.com
2013-05-14 07:39:55 +00:00
parent 406d17ff35
commit 14828737ee
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -147,9 +147,9 @@ void usbInit()
void watchdogInit()
{
IWDG->KR = 0x5555 ; // Unlock registers
IWDG->PR = 3 ; // Divide by 32 => 1kHz clock
IWDG->PR = 3 ; // Divide by 32 => 1kHz clock
IWDG->KR = 0x5555 ; // Unlock registers
IWDG->RLR = 1500 ; // 1.5 seconds nominal
IWDG->RLR = 1500 ; // 1.5 seconds nominal
IWDG->KR = 0xAAAA ; // reload
IWDG->KR = 0xCCCC ; // start
}
+2
View File
@@ -114,6 +114,8 @@ uint32_t sdMounted();
#endif
// Pulses driver
void init_no_pulses(uint32_t port);
void disable_no_pulses(uint32_t port);
void init_ppm( uint32_t module_index );
void disable_ppm( uint32_t module_index );
void init_pxx( uint32_t module_index );
-1
View File
@@ -69,7 +69,6 @@ void init_trainer_ppm()
TIM3->CR1 = TIM_CR1_CEN ;
NVIC_EnableIRQ(TIM3_IRQn) ;
// NVIC_EnableIRQ(TIM8_UP_TIM13_IRQn) ;
}
// TODO - testing