1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

GPS distance fix

This commit is contained in:
bsongis 2012-03-04 17:59:12 +00:00
parent a180d836ae
commit 402eb726d2

View file

@ -226,7 +226,7 @@ void parseTelemHubByte(uint8_t byte)
// First received GPS position => Pilot GPS position
getGpsPilotPosition();
}
else if (frskyHubData.gpsDistNeeded || g_menuStack[0] != menuProcFrsky) {
else if (frskyHubData.gpsDistNeeded || g_menuStack[0] == menuProcFrsky) {
getGpsDistance();
}
}