mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 12:23:23 +08:00
[boards] cleanup obsolete USE_OPENCM3 defines
This commit is contained in:
@@ -125,13 +125,6 @@
|
|||||||
|
|
||||||
#define BOARD_HAS_BARO 1
|
#define BOARD_HAS_BARO 1
|
||||||
|
|
||||||
#define USE_OPENCM3 1
|
|
||||||
|
|
||||||
// not needed with USE_OPENCM3:
|
|
||||||
//#define HSE_TYPE_EXT_CLK
|
|
||||||
//#define STM32_RCC_MODE RCC_HSE_ON
|
|
||||||
//#define STM32_PLL_MULT RCC_PLLMul_6
|
|
||||||
|
|
||||||
// Remap the servos 5 and 6 to TIM5 CH1 and CH2
|
// Remap the servos 5 and 6 to TIM5 CH1 and CH2
|
||||||
#if !defined REMAP_SERVOS_5AND6
|
#if !defined REMAP_SERVOS_5AND6
|
||||||
#define REMAP_SERVOS_5AND6 1
|
#define REMAP_SERVOS_5AND6 1
|
||||||
|
|||||||
@@ -172,13 +172,6 @@
|
|||||||
|
|
||||||
#define BOARD_HAS_BARO 1
|
#define BOARD_HAS_BARO 1
|
||||||
|
|
||||||
#define USE_OPENCM3 1
|
|
||||||
|
|
||||||
// not needed with USE_OPENCM3:
|
|
||||||
//#define HSE_TYPE_EXT_CLK
|
|
||||||
//#define STM32_RCC_MODE RCC_HSE_ON
|
|
||||||
//#define STM32_PLL_MULT RCC_PLLMul_6
|
|
||||||
|
|
||||||
#define PWM_5AND6_TIMER TIM5
|
#define PWM_5AND6_TIMER TIM5
|
||||||
#define PWM_5AND6_RCC RCC_APB1ENR_TIM5EN
|
#define PWM_5AND6_RCC RCC_APB1ENR_TIM5EN
|
||||||
#define PWM5_OC 1
|
#define PWM5_OC 1
|
||||||
|
|||||||
Reference in New Issue
Block a user