Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 805 → Rev 806

/branches/V0.68d Code Redesign killagreg/GPS.c
316,9 → 316,9
GPS_Neutral();
if(GPS_Task != TSK_IDLE)
{
satbeep = 1800 - (int16_t)GPSInfo.satnum * 225; // is zero at 8 sats
satbeep = 1600 - (int16_t)GPSInfo.satnum * 200; // is zero at 8 sats
if (satbeep < 0) satbeep = 0;
BeepTime = 50 + (uint16_t)satbeep; // max 1850 * 0.1 ms =
BeepTime = 50 + (uint16_t)satbeep; // max 1650 * 0.1 ms =
}
}
// set current data as processed to avoid further calculations on the same gps data