Subversion Repositories NaviCtrl

Rev

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

Rev 342 Rev 348
Line 309... Line 309...
309
         LED_RED_ON;
309
         LED_RED_ON;
310
         sprintf(ErrorMSG,"ERR:BL Limitation   ");
310
         sprintf(ErrorMSG,"ERR:BL Limitation   ");
311
         newErrorCode = 24;
311
         newErrorCode = 24;
312
         DebugOut.StatusRed |= AMPEL_BL;
312
         DebugOut.StatusRed |= AMPEL_BL;
313
        }
313
        }
-
 
314
        else if(NCFlags & NC_FLAG_RANGE_LIMIT && (FC.StatusFlags & FC_STATUS_FLY) && !ErrorCode)
-
 
315
        {
-
 
316
         LED_RED_ON;
-
 
317
         sprintf(ErrorMSG,"ERR:Waypoint range  ");
-
 
318
         newErrorCode = 25;
-
 
319
         DebugOut.StatusRed |= AMPEL_NC;
-
 
320
        }
314
        else // no error occured
321
        else // no error occured
315
        {
322
        {
316
                StopNavigation = 0;
323
                StopNavigation = 0;
317
                LED_RED_OFF;
324
                LED_RED_OFF;
318
                if(no_error_delay) { no_error_delay--;  }
325
                if(no_error_delay) { no_error_delay--;  }