mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
HAL_ChibiOS: define BOARD_RSSI_ANA_PIN to simpify tuning
This commit is contained in:
parent
e04f438ce3
commit
4342dae065
@ -158,11 +158,17 @@ define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
||||
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
||||
define HAL_DATAFLASH_FILE_BUFSIZE 8
|
||||
define HAL_DATAFLASH_MAV_BUFSIZE 2
|
||||
|
||||
# define default battery setup
|
||||
define HAL_BATT_VOLT_PIN 10
|
||||
define HAL_BATT_CURR_PIN 11
|
||||
define HAL_BATT_VOLT_SCALE 11
|
||||
define HAL_BATT_CURR_SCALE 31.7
|
||||
|
||||
#analog rssi pin (also could be used as analog airspeed input)
|
||||
# PC5 - ADC12_CH15
|
||||
define BOARD_RSSI_ANA_PIN 15
|
||||
|
||||
# no built-in compass, but probe the i2c bus for all possible
|
||||
# external compass types
|
||||
define ALLOW_ARM_NO_COMPASS
|
||||
|
@ -122,6 +122,11 @@ define HAL_BATT_CURR_PIN 11
|
||||
define HAL_BATT_VOLT_SCALE 11
|
||||
define HAL_BATT_CURR_SCALE 18.2
|
||||
|
||||
#analog rssi pin (also could be used as analog airspeed input)
|
||||
# PA0 - ADC123_CH0
|
||||
define BOARD_RSSI_ANA_PIN 0
|
||||
|
||||
|
||||
define HAL_GPIO_A_LED_PIN 57
|
||||
|
||||
define OSD_ENABLED ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user