Subversion Repositories FlightCtrl

Rev

Rev 723 | Rev 871 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 723 Rev 849
Line 70... Line 70...
70
   {
70
   {
71
    cntKompass++;
71
    cntKompass++;
72
   }
72
   }
73
  else
73
  else
74
   {
74
   {
75
    if((cntKompass) && (cntKompass < 4000))
75
    if((cntKompass) && (cntKompass < 362))
76
    {
76
    {
77
     cntKompass += cntKompass / 41;
77
     cntKompass += cntKompass / 41;
78
     if(cntKompass > 10) KompassValue = cntKompass - 10; else KompassValue = 0;
78
     if(cntKompass > 10) KompassValue = cntKompass - 10; else KompassValue = 0;
79
    }
79
    }
80
//     if(cntKompass < 10) cntKompass = 10;
80
//     if(cntKompass < 10) cntKompass = 10;