Subversion Repositories NaviCtrl

Rev

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

Rev 265 Rev 275
Line 441... Line 441...
441
                                break;
441
                                break;
Line 442... Line 442...
442
 
442
 
443
                        case 'w'://  Append Waypoint to List
443
                        case 'w'://  Append Waypoint to List
444
                                {
444
                                {
445
                                        pWaypoint = (Waypoint_t*)SerialMsg.pData;
-
 
446
                                        //sprintf(text, "\r\nI=%d, S=%d,T=%d\r\n",pWaypoint->Index, pWaypoint->Position.Status, pWaypoint->Type);
-
 
Line 447... Line 445...
447
                                        //UART1_PutString(text);
445
                                        pWaypoint = (Waypoint_t*)SerialMsg.pData;
448
 
446
 
449
                                        if((pWaypoint->Position.Status == INVALID) && (pWaypoint->Index == 0))
447
                                        if((pWaypoint->Position.Status == INVALID) && (pWaypoint->Index == 0))
450
                                        {
448
                                        {
Line 517... Line 515...
517
                        case 'c': // request for 3D data;
515
                        case 'c': // request for 3D data;
518
                                UART1_Data3D_Interval = (u32) SerialMsg.pData[0] * 10;
516
                                UART1_Data3D_Interval = (u32) SerialMsg.pData[0] * 10;
519
                                if(UART1_Data3D_Interval > 0) UART1_Request_Data3D = TRUE;
517
                                if(UART1_Data3D_Interval > 0) UART1_Request_Data3D = TRUE;
520
                                UART1_AboTimeOut = SetDelay(ABO_TIMEOUT);
518
                                UART1_AboTimeOut = SetDelay(ABO_TIMEOUT);
521
                                break;
519
                                break;
522
                        /*
-
 
523
                        case 'g':// request for external control data
-
 
524
                                UART1_Request_ExternalControl = TRUE;
-
 
525
                                break;
-
 
526
                        */
520
 
527
                        case 'h':// reqest for display line
521
                        case 'h':// reqest for display line
528
                                if((SerialMsg.pData[0]& 0x80) == 0x00)// old format
522
                                if((SerialMsg.pData[0]& 0x80) == 0x00)// old format
529
                                {
523
                                {
530
                                        UART1_DisplayLine = 2;
524
                                        UART1_DisplayLine = 2;
531
                                        UART1_Display_Interval = 0;
525
                                        UART1_Display_Interval = 0;