GPS distance fix

This commit is contained in:
bsongis
2012-03-04 17:59:12 +00:00
parent a180d836ae
commit 402eb726d2
+1 -1
View File
@@ -226,7 +226,7 @@ void parseTelemHubByte(uint8_t byte)
// First received GPS position => Pilot GPS position // First received GPS position => Pilot GPS position
getGpsPilotPosition(); getGpsPilotPosition();
} }
else if (frskyHubData.gpsDistNeeded || g_menuStack[0] != menuProcFrsky) { else if (frskyHubData.gpsDistNeeded || g_menuStack[0] == menuProcFrsky) {
getGpsDistance(); getGpsDistance();
} }
} }