mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 14:58:53 +08:00
ROMFS: start esc_battery if param is set
This commit is contained in:
@@ -348,6 +348,11 @@ else
|
|||||||
|
|
||||||
sh /etc/init.d/rc.sensors
|
sh /etc/init.d/rc.sensors
|
||||||
|
|
||||||
|
if param compare -s BAT1_SOURCE 2
|
||||||
|
then
|
||||||
|
esc_battery start
|
||||||
|
fi
|
||||||
|
|
||||||
battery_status start
|
battery_status start
|
||||||
commander start
|
commander start
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user