PUD: pull txPosition out of PositionAverageList
[olsrd.git] / lib / pud / src / posAvg.c
index 025b35c..9381135 100644 (file)
@@ -94,10 +94,6 @@ bool initPositionAverageList(PositionAverageList * positionAverageList,
        positionAverageList->entries = p;
        positionAverageList->newestEntryIndex = 0;
 
-       positionAverageList->txPosition.nmeaInfo.smask = GPNON;
-       positionAverageList->txPosition.nmeaInfo.fix = NMEA_FIX_BAD;
-       positionAverageList->txPosition.nmeaInfo.sig = NMEA_SIG_BAD;
-
        flushPositionAverageList(positionAverageList);
 
        return true;
@@ -168,10 +164,6 @@ PositionUpdateEntry * getPositionAverageEntry(
                        r = &positionAvgList->positionAverage;
                        break;
 
-               case LASTTX:
-                       r = &positionAvgList->txPosition;
-                       break;
-
                default:
                        r = NULL;
                        break;