Cosmetics
This commit is contained in:
@@ -152,7 +152,7 @@ static void disable_pa10_none()
|
|||||||
|
|
||||||
static void init_pa7_none()
|
static void init_pa7_none()
|
||||||
{
|
{
|
||||||
EXTERNAL_RF_ON();
|
EXTERNAL_RF_OFF();
|
||||||
|
|
||||||
// Timer8
|
// Timer8
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ static void init_pa7_none()
|
|||||||
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL;
|
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL;
|
||||||
GPIO_Init(GPIO_EXTPPM, &GPIO_InitStructure);
|
GPIO_Init(GPIO_EXTPPM, &GPIO_InitStructure);
|
||||||
|
|
||||||
GPIO_SetBits(GPIO_EXTPPM,PIN_EXTPPM_OUT) ; // Set high
|
GPIO_SetBits(GPIO_EXTPPM, PIN_EXTPPM_OUT) ; // Set high
|
||||||
|
|
||||||
RCC->APB2ENR |= RCC_APB2ENR_TIM8EN ; // Enable clock
|
RCC->APB2ENR |= RCC_APB2ENR_TIM8EN ; // Enable clock
|
||||||
|
|
||||||
@@ -193,8 +193,6 @@ static void disable_pa7_none()
|
|||||||
EXTERNAL_RF_OFF();
|
EXTERNAL_RF_OFF();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void init_pa10_pxx()
|
static void init_pa10_pxx()
|
||||||
{
|
{
|
||||||
INTERNAL_RF_ON();
|
INTERNAL_RF_ON();
|
||||||
|
|||||||
Reference in New Issue
Block a user