mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: make sure SkystarsH7HD has functioning VTX on Camera 1 by default
This commit is contained in:
parent
f345c21078
commit
2c82fb5f38
|
@ -18,7 +18,6 @@ define STM32_I2C_USE_DMA FALSE
|
||||||
|
|
||||||
define RELAY2_PIN_DEFAULT 81 # Pit-1
|
define RELAY2_PIN_DEFAULT 81 # Pit-1
|
||||||
define RELAY3_PIN_DEFAULT 82 # PIN-EN
|
define RELAY3_PIN_DEFAULT 82 # PIN-EN
|
||||||
define RELAY4_PIN_DEFAULT 83 # CAM-C
|
|
||||||
|
|
||||||
# Motor order Betaflight/X
|
# Motor order Betaflight/X
|
||||||
define HAL_FRAME_TYPE_DEFAULT 12
|
define HAL_FRAME_TYPE_DEFAULT 12
|
||||||
|
|
|
@ -51,5 +51,6 @@ PE11 BMI270_CS2 CS
|
||||||
|
|
||||||
## pull up VTX power so that it is enabled in bootloader
|
## pull up VTX power so that it is enabled in bootloader
|
||||||
PC5 VTX_PWR OUTPUT HIGH # labelled as "Pit-1"
|
PC5 VTX_PWR OUTPUT HIGH # labelled as "Pit-1"
|
||||||
PC2 VID_SELECT OUTPUT LOW # labelled as "PIN-EN"
|
# pull up PIN-EN so that Video 1 is selected by default
|
||||||
|
PC2 VID_SELECT OUTPUT HIGH # labelled as "PIN-EN"
|
||||||
PD2 CAM_C OUTPUT LOW # labelled as "CAM-C"
|
PD2 CAM_C OUTPUT LOW # labelled as "CAM-C"
|
||||||
|
|
|
@ -96,9 +96,11 @@ PC0 BATT_VOLTAGE_SENS ADC1 SCALE(1)
|
||||||
PC1 BATT_CURRENT_SENS ADC1 SCALE(1)
|
PC1 BATT_CURRENT_SENS ADC1 SCALE(1)
|
||||||
|
|
||||||
# VTX Power control - should be high at startup to ensure power
|
# VTX Power control - should be high at startup to ensure power
|
||||||
PC5 VTX_PWR OUTPUT LOW GPIO(81) # labelled as "Pit-1"
|
PC5 VTX_PWR OUTPUT HIGH GPIO(81) # labelled as "Pit-1"
|
||||||
PC2 VID_SELECT OUTPUT LOW GPIO(82) # labelled as "PIN-EN"
|
# Camera selection - should be high so that Video 1 is selected by default
|
||||||
PD2 CAM_C OUTPUT LOW GPIO(83) # labelled as "CAM-C"
|
PC2 VID_SELECT OUTPUT HIGH GPIO(82) # labelled as "PIN-EN"
|
||||||
|
# OSD pad for TTL based OSD control, not supported by AP
|
||||||
|
PD2 CAM_C OUTPUT LOW GPIO(83) # labelled as "CAM-C"
|
||||||
|
|
||||||
|
|
||||||
# define default battery setup
|
# define default battery setup
|
||||||
|
|
Loading…
Reference in New Issue