also init targetOutput from gate when saved value is 0
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@ if fs.exists("reactorconfig.txt") then
|
||||
load_config()
|
||||
end
|
||||
|
||||
if not targetOutput then
|
||||
if not targetOutput or targetOutput == 0 then
|
||||
targetOutput = fluxgate.getSignalLowFlow()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user