mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_PX4: add pin to monitor battery
This commit is contained in:
parent
05c5a2ac9b
commit
7c1f255258
|
@ -59,6 +59,7 @@ static const struct {
|
||||||
{ 14, 3.3f/4096 }, // AUX ADC pin 3
|
{ 14, 3.3f/4096 }, // AUX ADC pin 3
|
||||||
{ 15, 6.6f/4096 }, // analog airspeed sensor, 2:1 scaling
|
{ 15, 6.6f/4096 }, // analog airspeed sensor, 2:1 scaling
|
||||||
#elif defined(CONFIG_ARCH_BOARD_AEROFC_V1)
|
#elif defined(CONFIG_ARCH_BOARD_AEROFC_V1)
|
||||||
|
{ 1, 3.3f/4096 },
|
||||||
#else
|
#else
|
||||||
#error "Unknown board type for AnalogIn scaling"
|
#error "Unknown board type for AnalogIn scaling"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue