Rev 490 | Rev 492 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 490 | Rev 491 | ||
---|---|---|---|
Line 53... | Line 53... | ||
53 | // + #### END OF LICENSING TERMS #### |
53 | // + #### END OF LICENSING TERMS #### |
54 | // + Note: For information on license extensions (e.g. commercial use), please contact us at info(@)hisystems.de. |
54 | // + Note: For information on license extensions (e.g. commercial use), please contact us at info(@)hisystems.de. |
55 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
55 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
56 | //#define MCLK96MHZ |
56 | //#define MCLK96MHZ |
57 | const unsigned long _Main_Crystal = 25000; |
57 | const unsigned long _Main_Crystal = 25000; |
58 | #include <stdio.h> |
58 | //#include <stdio.h> |
59 | #include "91x_lib.h" |
59 | #include "91x_lib.h" |
60 | #include "led.h" |
60 | #include "led.h" |
61 | #include "uart0.h" |
61 | #include "uart0.h" |
62 | #include "uart1.h" |
62 | #include "uart1.h" |
63 | #include "uart2.h" |
63 | #include "uart2.h" |
Line 355... | Line 355... | ||
355 | LED_RED_ON; |
355 | LED_RED_ON; |
356 | sprintf(ErrorMSG,"ERR:BL Limitation "); |
356 | sprintf(ErrorMSG,"ERR:BL Limitation "); |
357 | newErrorCode = 24; |
357 | newErrorCode = 24; |
358 | DebugOut.StatusRed |= AMPEL_BL; |
358 | DebugOut.StatusRed |= AMPEL_BL; |
359 | } |
359 | } |
360 | else if(NCFlags & NC_FLAG_RANGE_LIMIT && (FC.StatusFlags & FC_STATUS_FLY) && !ErrorCode) |
360 | else if((NCFlags & NC_FLAG_RANGE_LIMIT) && (FC.StatusFlags & FC_STATUS_FLY) && !ErrorCode) |
361 | { |
361 | { |
362 | LED_RED_ON; |
362 | LED_RED_ON; |
363 | sprintf(ErrorMSG,"ERR:GPS range "); |
363 | sprintf(ErrorMSG,"ERR:GPS range "); |
364 | newErrorCode = 25; |
364 | newErrorCode = 25; |
365 | DebugOut.StatusRed |= AMPEL_NC; |
365 | DebugOut.StatusRed |= AMPEL_NC; |
Line 585... | Line 585... | ||
585 | LED_RED_OFF; |
585 | LED_RED_OFF; |
586 | Settings_GetParamValue(PID_SEND_NMEA, &NMEA_Interval); |
586 | Settings_GetParamValue(PID_SEND_NMEA, &NMEA_Interval); |
587 | UART1_PutString("\r\n"); |
587 | UART1_PutString("\r\n"); |
588 | CompassValueErrorCount = 0; |
588 | CompassValueErrorCount = 0; |
Line 589... | Line -... | ||
589 | - | ||
590 | //PointList_ReadFromFile(1); |
589 | |
591 | for (;;) // the endless main loop |
590 | for (;;) // the endless main loop |
592 | { |
591 | { |
593 | PollingTimeout = 5; |
592 | PollingTimeout = 5; |