Skip to content

Commit

Permalink
Solve Issue #9
Browse files Browse the repository at this point in the history
  • Loading branch information
pi committed Jul 28, 2023
1 parent 3e13491 commit b740e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def parseData(self, data, source='internal'):
if(rt['magortrue'] == 'T'):
self.api.addData(self.PATHHDG_T, self.LimitWinkel(rt['Heading'],360),source=source)
if(self.variation_val):
self.api.addData(self.PATHHDG_M, self.LimitWinkel(rt['Heading',360] - self.variation_val),source=source)
self.api.addData(self.PATHHDG_M, self.LimitWinkel(rt['Heading'] - self.variation_val,360),source=source)
else:
self.api.addData(self.PATHHDG_M, self.LimitWinkel(rt['Heading'],360))
if(self.variation_val):
Expand Down

0 comments on commit b740e34

Please sign in to comment.