Rev 491 | Rev 494 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 491 | Rev 492 | ||
---|---|---|---|
Line 527... | Line 527... | ||
527 | value = SerialMsg.pData[2] + (s16)SerialMsg.pData[3] * 0x0100; |
527 | value = SerialMsg.pData[2] + (s16)SerialMsg.pData[3] * 0x0100; |
528 | NCParams_SetValue(SerialMsg.pData[1], &value); |
528 | NCParams_SetValue(SerialMsg.pData[1], &value); |
529 | } |
529 | } |
530 | break; |
530 | break; |
Line 531... | Line -... | ||
531 | - | ||
532 | case 2: |
- | |
533 | // read wp list from file |
- | |
534 | if(PointList_ReadFromFile(SerialMsg.pData[2])) |
- | |
535 | { //and move all wp relative so that 1st wp gets current positition |
- | |
536 | PointList_Move(1, &GPSData.Position); |
- | |
537 | } |
- | |
538 | else PointList_Clear(); |
- | |
539 | break; |
- | |
540 | 531 | ||
541 | default: |
532 | default: |
542 | break; |
533 | break; |
543 | } |
534 | } |
544 | UART1_Request_ParameterId = SerialMsg.pData[1]; |
535 | UART1_Request_ParameterId = SerialMsg.pData[1]; |