Subversion Repositories FlightCtrl

Rev

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

Rev 1793 Rev 1799
Line 25... Line 25...
25
        static unsigned char J17Bitmask = 0;
25
        static unsigned char J17Bitmask = 0;
26
        static unsigned char J16Warn = 0, J17Warn = 0;
26
        static unsigned char J16Warn = 0, J17Warn = 0;
27
        if(!delay--)  // 10ms Intervall
27
        if(!delay--)  // 10ms Intervall
28
        {
28
        {
29
        delay = 4;
29
        delay = 4;
-
 
30
 
-
 
31
 
-
 
32
 
-
 
33
//MartinW: added        
-
 
34
        if(EE_Parameter.UserParam8 >0)  // 2ms Intervall ///
-
 
35
        {
-
 
36
        delay = 0;
-
 
37
        }
-
 
38
//MartinW
-
 
39
 
-
 
40
 
-
 
41
 
30
        if(FC_StatusFlags & (FC_STATUS_LOWBAT | FC_STATUS_EMERGENCY_LANDING) || (VersionInfo.HardwareError[1] & FC_ERROR1_I2C))
42
        if(FC_StatusFlags & (FC_STATUS_LOWBAT | FC_STATUS_EMERGENCY_LANDING) || (VersionInfo.HardwareError[1] & FC_ERROR1_I2C))
31
        {
43
        {
32
                if(EE_Parameter.WARN_J16_Bitmask)
44
                if(EE_Parameter.WARN_J16_Bitmask)
33
                 {
45
                 {
34
          if(!J16Warn) J16Blinkcount = 4;
46
          if(!J16Warn) J16Blinkcount = 4;