Skip to content

Commit

Permalink
Revert "Garmin Pilot compatibility by changing IP Address to 10.29.39.1"
Browse files Browse the repository at this point in the history
This reverts commit 258ca7f.
  • Loading branch information
b3nn0 committed May 22, 2022
1 parent 1ee87b9 commit 32d5e58
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions main/clientconnection.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,6 @@ func (conn *networkConnection) Capabilities() uint8 {
}

func (conn *networkConnection) GetDesiredPacketSize() int {
// Garmin Pilot/Stratus 3 compatibility:
// For GP to detect Stratux, the IP has to be set accordingly. However, GP can only handle one GDL90 message per datagram.
// We just assume that if the user configures this IP, then probably to use Garmin Pilot or something else that only supports Stratus 3
// - and therefore try to behave more like a Stratus 3.
if globalSettings.WiFiIPAddress == "10.29.39.1" {
return 1
}
return 1024
}

Expand Down

0 comments on commit 32d5e58

Please sign in to comment.