fix(battery_simulator): disable battery sim only if SIM_BAT_DRAIN strictly < 0

This commit is contained in:
Balduin
2026-04-07 09:53:42 +02:00
parent b73d5ff7f6
commit e29e69f36b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ fi
load_mon start
if param greater SIM_BAT_DRAIN 0
if param greater SIM_BAT_DRAIN 0 || param compare SIM_BAT_DRAIN 0
then
battery_simulator start
fi