Subversion Repositories FlightCtrl

Rev

Rev 683 | Blame | Last modification | View Log | RSS feed

// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// + Copyright (c) 04.2007 Holger Buss
// + only for non-profit use
// + www.MikroKopter.com
// + see the File "License.txt" for further Informations
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#include "main.h"

signed int GPS_Pitch = 0;
signed int GPS_Roll = 0;
long GpsReading_X = 0;
long GpsReading_Y = 0;
long GpsTarget_X = 0;
long GpsTarget_Y = 0;

void GPS_Neutral(void)
{
 GpsTarget_X = GpsReading_X;
 GpsTarget_Y = GpsReading_Y;
}

void GPS_CalcTargetDirection(void)
{
 GPS_Pitch = 0;
 GPS_Roll = 0;
}