Correct check for debug value

This commit is contained in:
Iwan Timmer
2014-10-27 17:55:49 +01:00
parent cd89fc04e9
commit 296fc50b51

View File

@@ -389,7 +389,7 @@ public class Limelight implements NvConnectionListener {
if (action.equals("fake"))
limelight.startUpFake(streamConfig, video);
else
limelight.startUp(streamConfig, inputs, mapping, audio, tests, debug.intValue() > Level.WARNING.intValue());
limelight.startUp(streamConfig, inputs, mapping, audio, tests, debug.intValue() <= Level.WARNING.intValue());
} else if (action.equals("pair"))
limelight.pair();
else if (action.equals("list"))