Skip to content

Commit c24bcdb

Browse files
plugins/oplimits/OperationLimitsSubPanel: Using test isActiveWifi instead of old isActive for deciding to send by Iridium.
1 parent f28b3e0 commit c24bcdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins-dev/oplimits/src/java/pt/lsts/neptus/plugins/oplimits/OperationLimitsSubPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public boolean send(IMCMessage message, boolean onlyWifi) {
372372
if (destination == null)
373373
return false;
374374
ImcSystem sysL = ImcSystemsHolder.lookupSystemByName(destination);
375-
if (sysL != null && !sysL.isActive()) {
375+
if (sysL != null && !sysL.isActiveWifi()) {
376376
if (onlyWifi)
377377
return false; // do not send via Iridium if onlyWifi is true
378378

0 commit comments

Comments
 (0)