Rev 392 | Rev 398 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 392 | Rev 397 | ||
---|---|---|---|
Line 149... | Line 149... | ||
149 | else DebugOut.StatusRed &= ~AMPEL_BL; // BL-Ctrl green status |
149 | else DebugOut.StatusRed &= ~AMPEL_BL; // BL-Ctrl green status |
Line 150... | Line 150... | ||
150 | 150 | ||
151 | if(UART_VersionInfo.HardwareError[0] || UART_VersionInfo.HardwareError[1]) DebugOut.StatusRed |= AMPEL_NC; |
151 | if(UART_VersionInfo.HardwareError[0] || UART_VersionInfo.HardwareError[1]) DebugOut.StatusRed |= AMPEL_NC; |
Line 152... | Line 152... | ||
152 | else DebugOut.StatusRed &= ~AMPEL_NC; |
152 | else DebugOut.StatusRed &= ~AMPEL_NC; |
153 | 153 | ||
154 | if(FCCalibActive || CompassCalState) |
154 | if((FCCalibActive || CompassCalState) && FC_Version.Hardware) |
155 | { |
155 | { |
156 | sprintf(ErrorMSG,"Calibrate... "); |
156 | sprintf(ErrorMSG,"Calibrate... "); |
157 | newErrorCode = 0; |
157 | newErrorCode = 0; |
Line 334... | Line 334... | ||
334 | LED_RED_ON; |
334 | LED_RED_ON; |
335 | sprintf(ErrorMSG,"ERR:GPS range "); |
335 | sprintf(ErrorMSG,"ERR:GPS range "); |
336 | newErrorCode = 25; |
336 | newErrorCode = 25; |
337 | DebugOut.StatusRed |= AMPEL_NC; |
337 | DebugOut.StatusRed |= AMPEL_NC; |
338 | } |
338 | } |
339 | else if(!SD_SWITCH && Parameter.GlobalConfig3 & CFG3_NO_SDCARD_NO_START) |
339 | else if((!SD_SWITCH || (SDCardInfo.Valid == 0)) && Parameter.GlobalConfig3 & CFG3_NO_SDCARD_NO_START && !(FC.StatusFlags & FC_STATUS_FLY)) |
340 | { |
340 | { |
341 | LED_RED_ON; |
341 | LED_RED_ON; |
342 | sprintf(ErrorMSG,"ERR:No SD-Card "); |
342 | sprintf(ErrorMSG,"ERR:No SD-Card "); |
343 | newErrorCode = 26; |
343 | newErrorCode = 26; |
344 | DebugOut.StatusRed |= AMPEL_NC; |
344 | DebugOut.StatusRed |= AMPEL_NC; |