Issue 135 fixed (to be tested!)

This commit is contained in:
bsongis
2012-09-18 21:52:26 +00:00
parent 324a0c4b77
commit 77bfa1dc2a
+1 -1
View File
@@ -298,7 +298,7 @@ void parseTelemHubByte(uint8_t byte)
// First received GPS position => Pilot GPS position
getGpsPilotPosition();
}
else if (frskyData.hub.gpsDistNeeded || g_menuStack[0] == menuProcFrsky) {
else if (frskyData.hub.gpsDistNeeded || g_menuStack[g_menuStackPtr] == menuProcFrsky) {
getGpsDistance();
}
break;