Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 908 → Rev 909

/branches/V0.69k CRK HexaLotte/fc.c
68,8 → 68,9
#include "mm3.h"
#include "gps.h"
#endif
#if !defined (USE_KILLAGREG) && !defined (USE_NAVICTRL)
#ifdef USE_MK3MAG
#include "mk3mag.h"
#include "gps.h"
#endif
#include "led.h"
 
704,7 → 705,7
Reading_IntegralGyroRoll2 = IntegralRoll;
SumPitch = 0;
SumRoll = 0;
#ifdef USE_KILLAGREG
#if defined (USE_KILLAGREG) || defined (USE_MK3MAG)
if(ParamSet.GlobalConfig & CFG_GPS_ACTIVE)
{
GPS_SetHomePosition();
723,7 → 724,7
delay_stopmotors = 0; // do not repeat if once executed
Model_Is_Flying = 0;
MotorsOn = 0;
#ifdef USE_KILLAGREG
#if defined (USE_KILLAGREG) || defined (USE_MK3MAG)
if(ParamSet.GlobalConfig & CFG_GPS_ACTIVE)
{
GPS_ClearHomePosition();
1212,7 → 1213,7
}
}
 
#ifdef USE_KILLAGREG
#if defined (USE_KILLAGREG) || defined (USE_MK3MAG)
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// GPS
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++