Subversion Repositories FlightCtrl

Rev

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

Rev 1765 Rev 1769
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
        if(FC_StatusFlags & (FC_STATUS_LOWBAT | FC_STATUS_EMERGENCY_LANDING) || (VersionInfo.HardwareError[1] | FC_ERROR1_I2C))
30
        if(FC_StatusFlags & (FC_STATUS_LOWBAT | FC_STATUS_EMERGENCY_LANDING) || (VersionInfo.HardwareError[1] & FC_ERROR1_I2C))
32
        {
31
        {
33
                if(EE_Parameter.WARN_J16_Bitmask)
32
                if(EE_Parameter.WARN_J16_Bitmask)
34
                 {
33
                 {
35
          if(!J16Warn) J16Blinkcount = 4;
34
          if(!J16Warn) J16Blinkcount = 4;
36
          J16Warn = 1;
35
          J16Warn = 1;