Subversion Repositories FlightCtrl

Rev

Rev 2009 | Rev 2029 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2009 Rev 2010
Line 286... Line 286...
286
                        ToNaviCtrl.Param.Byte[9] = EE_Parameter.ServoRollMax;
286
                        ToNaviCtrl.Param.Byte[9] = EE_Parameter.ServoRollMax;
287
                        ToNaviCtrl.Param.Byte[10] = Capacity.MinOfMaxPWM;
287
                        ToNaviCtrl.Param.Byte[10] = Capacity.MinOfMaxPWM;
288
                        ToNaviCtrl.Param.Byte[11] = DebugOut.Analog[28]; // I2C-Error counter
288
                        ToNaviCtrl.Param.Byte[11] = DebugOut.Analog[28]; // I2C-Error counter
289
                break;
289
                break;
290
        }
290
        }
291
 
291
     
292
  if(SPI_RxDataValid)
292
  if(SPI_RxDataValid)
293
  {
293
  {
294
        NaviDataOkay = 250;
294
        NaviDataOkay = 250;
295
        CalculateCompassTimer = 1;
295
        CalculateCompassTimer = 1;
296
        if(abs(FromNaviCtrl.GPS_Nick) < 512 && abs(FromNaviCtrl.GPS_Roll) < 512 && (EE_Parameter.GlobalConfig & CFG_GPS_AKTIV))
296
        if(abs(FromNaviCtrl.GPS_Nick) < 512 && abs(FromNaviCtrl.GPS_Roll) < 512 && (EE_Parameter.GlobalConfig & CFG_GPS_AKTIV))