mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 19:30:36 +08:00
fix(battery_simulator): disable if 0, adjust limit to 0
This commit is contained in:
@@ -249,7 +249,7 @@ fi
|
||||
|
||||
load_mon start
|
||||
|
||||
if param greater SIM_BAT_DRAIN 0 || param compare SIM_BAT_DRAIN 0
|
||||
if param greater SIM_BAT_DRAIN 0
|
||||
then
|
||||
battery_simulator start
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user