mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
v6x board_sensors: publish system_power if ADC_ADS1115_EN is enabled
This commit is contained in:
@@ -12,6 +12,7 @@ fi
|
|||||||
if param compare -s ADC_ADS1115_EN 1
|
if param compare -s ADC_ADS1115_EN 1
|
||||||
then
|
then
|
||||||
ads1115 start -X
|
ads1115 start -X
|
||||||
|
board_adc start -n
|
||||||
else
|
else
|
||||||
board_adc start
|
board_adc start
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user