mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 11:23:33 +08:00
refactor(battery_simulator): remove SIM_BAT_ENABLE
disable instead with SIM_BAT_DRAIN <= 0
This commit is contained in:
@@ -249,7 +249,7 @@ fi
|
||||
|
||||
load_mon start
|
||||
|
||||
if param compare SIM_BAT_ENABLE 1
|
||||
if param greater SIM_BAT_DRAIN 0
|
||||
then
|
||||
battery_simulator start
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user