Subversion Repositories FlightCtrl

Rev

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

Rev 1651 Rev 1664
Line 40... Line 40...
40
     cnt_1ms %= 2;
40
     cnt_1ms %= 2;
Line 41... Line 41...
41
 
41
 
42
     if(!cnt_1ms) UpdateMotor = 1;
42
     if(!cnt_1ms) UpdateMotor = 1;
Line 43... Line 43...
43
         if(!PINC & 0x10) compass_active = 1;
43
         if(!PINC & 0x10) compass_active = 1;
44
 
44
 
45
     if(beeptime >= 10)
45
     if(beeptime)
46
        {
46
        {
47
        beeptime -= 10;
47
        if(beeptime > 10) beeptime -= 10; else beeptime = 0;
48
        if(beeptime & BeepMuster)
48
        if(beeptime & BeepMuster)
49
         {
49
         {
50
          pieper_ein = 1;
50
          pieper_ein = 1;