Subversion Repositories FlightCtrl

Rev

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

Rev 846 Rev 854
Line 200... Line 200...
200
 
200
 
201
 
201
 
-
 
202
 
-
 
203
  if (SPI_RxDataValid)
202
 
204
  {
203
  if (SPI_RxDataValid)
205
   if(abs(FromNaviCtrl.GPS_Nick) < 100 && abs(FromNaviCtrl.GPS_Roll) < 100)
-
 
206
   {
204
  {
207
    GPS_Nick = FromNaviCtrl.GPS_Nick;
205
    GPS_Nick = FromNaviCtrl.GPS_Nick;
208
    GPS_Roll = FromNaviCtrl.GPS_Roll;
Line 206... Line 209...
206
    GPS_Roll = FromNaviCtrl.GPS_Roll;
209
   }
Line 207... Line 210...
207
    KompassValue = FromNaviCtrl.CompassValue;
210
    if(FromNaviCtrl.CompassValue <= 360)   KompassValue = FromNaviCtrl.CompassValue;