Rev 400 | Rev 426 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 400 | Rev 420 | ||
---|---|---|---|
Line 356... | Line 356... | ||
356 | LED_RED_ON; |
356 | LED_RED_ON; |
357 | sprintf(ErrorMSG,"ERR:Max Altitude "); |
357 | sprintf(ErrorMSG,"ERR:Max Altitude "); |
358 | newErrorCode = 29; |
358 | newErrorCode = 29; |
359 | DebugOut.StatusRed |= AMPEL_NC; |
359 | DebugOut.StatusRed |= AMPEL_NC; |
360 | } |
360 | } |
361 | else if(Parameter.GlobalConfig3 & CFG3_NO_GPSFIX_NO_START && !(NCFlags & NC_FLAG_GPS_OK) && (FC.StatusFlags & (FC_STATUS_START | FC_STATUS_MOTOR_RUN))) |
361 | else if(Parameter.GlobalConfig3 & CFG3_NO_GPSFIX_NO_START && !(NCFlags & NC_FLAG_GPS_OK) && ((FC.StatusFlags & (FC_STATUS_START | FC_STATUS_MOTOR_RUN)) || (FC.StickGas < -50 && FC.StickYaw < -50))) |
362 | { |
362 | { |
363 | LED_RED_ON; |
363 | LED_RED_ON; |
364 | sprintf(ErrorMSG,"No GPS Fix "); |
364 | sprintf(ErrorMSG,"No GPS Fix "); |
365 | newErrorCode = 30; |
365 | newErrorCode = 30; |
366 | } |
366 | } |