Rev 303 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 303 | Rev 333 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | uint8_t Request_Display = FALSE; |
33 | uint8_t Request_Display = FALSE; |
34 | uint8_t Request_Display1 = FALSE; |
34 | uint8_t Request_Display1 = FALSE; |
35 | uint8_t Request_ExternalControl = FALSE; |
35 | uint8_t Request_ExternalControl = FALSE; |
36 | uint8_t Request_DebugData = FALSE; |
36 | uint8_t Request_DebugData = FALSE; |
37 | uint8_t Request_DebugLabel = 255; |
37 | uint8_t Request_DebugLabel = 255; |
- | 38 | uint8_t Request_SendFollowMe = FALSE; |
|
38 | uint8_t DisplayLine = 0; |
39 | uint8_t DisplayLine = 0; |
Line 39... | Line 40... | ||
39 | 40 | ||
40 | volatile uint8_t txd_buffer[TXD_BUFFER_LEN]; |
41 | volatile uint8_t txd_buffer[TXD_BUFFER_LEN]; |
41 | volatile uint8_t rxd_buffer_locked = FALSE; |
42 | volatile uint8_t rxd_buffer_locked = FALSE; |
Line 52... | Line 53... | ||
52 | UART_VersionInfo_t UART_VersionInfo; |
53 | UART_VersionInfo_t UART_VersionInfo; |
Line 53... | Line 54... | ||
53 | 54 | ||
54 | uint16_t DebugData_Timer; |
55 | uint16_t DebugData_Timer; |
Line -... | Line 56... | ||
- | 56 | uint16_t DebugData_Interval = 500; // in 1ms |
|
Line 55... | Line 57... | ||
55 | uint16_t DebugData_Interval = 500; // in 1ms |
57 | |
56 | 58 | Waypoint_t FollowMe; |
|
57 | 59 | ||
58 | const uint8_t ANALOG_LABEL[32][16] = |
60 | const uint8_t ANALOG_LABEL[32][16] = |
Line 508... | Line 510... | ||
508 | { |
510 | { |
509 | SendOutData('D', FM_ADDRESS, 1,(uint8_t *) &DebugOut, sizeof(DebugOut)); |
511 | SendOutData('D', FM_ADDRESS, 1,(uint8_t *) &DebugOut, sizeof(DebugOut)); |
510 | DebugData_Timer = SetDelay(DebugData_Interval); |
512 | DebugData_Timer = SetDelay(DebugData_Interval); |
511 | Request_DebugData = FALSE; |
513 | Request_DebugData = FALSE; |
512 | } |
514 | } |
- | 515 | if(Request_SendFollowMe && txd_complete) |
|
- | 516 | { |
|
- | 517 | SendOutData('s', NC_ADDRESS, 1, (uint8_t *)&FollowMe, sizeof(FollowMe)); |
|
- | 518 | FollowMe.Position.Status = PROCESSED; |
|
- | 519 | Request_SendFollowMe = FALSE; |
|
- | 520 | } |
|
513 | } |
521 | } |