Copter: remove unused #defines from config.h
This commit is contained in:
parent
9a6c61d42f
commit
eee7a1de22
@ -173,31 +173,19 @@
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1
|
||||
# define LED_ON HIGH
|
||||
# define LED_OFF LOW
|
||||
# define BATTERY_VOLT_PIN 0 // Battery voltage on A0
|
||||
# define BATTERY_CURR_PIN 1 // Battery current on A1
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM2
|
||||
# define LED_ON LOW
|
||||
# define LED_OFF HIGH
|
||||
# define BATTERY_VOLT_PIN 1 // Battery voltage on A1
|
||||
# define BATTERY_CURR_PIN 2 // Battery current on A2
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||
# define LED_ON LOW
|
||||
# define LED_OFF HIGH
|
||||
# define BATTERY_VOLT_PIN 1 // Battery voltage on A1
|
||||
# define BATTERY_CURR_PIN 2 // Battery current on A2
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
# define LED_ON LOW
|
||||
# define LED_OFF HIGH
|
||||
# define BATTERY_VOLT_PIN -1
|
||||
# define BATTERY_CURR_PIN -1
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||
# define BATTERY_VOLT_PIN 20
|
||||
# define BATTERY_CURR_PIN 19
|
||||
# define LED_ON LOW
|
||||
# define LED_OFF HIGH
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
# define BATTERY_VOLT_PIN -1
|
||||
# define BATTERY_CURR_PIN -1
|
||||
# define LED_ON LOW
|
||||
# define LED_OFF HIGH
|
||||
#endif
|
||||
@ -517,20 +505,6 @@
|
||||
# define LAND_DETECTOR_TRIGGER 50 // number of 50hz iterations with near zero climb rate and low throttle that triggers landing complete.
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// STARTUP BEHAVIOUR
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// GROUND_START_DELAY
|
||||
//
|
||||
#ifndef GROUND_START_DELAY
|
||||
# define GROUND_START_DELAY 3
|
||||
#endif
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// CAMERA TRIGGER AND CONTROL
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user