Rev 511 | Rev 514 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 511 | Rev 513 | ||
---|---|---|---|
Line 516... | Line 516... | ||
516 | 516 | ||
517 | case 'i':// Store WP List to file |
517 | case 'i':// Store WP List to file |
518 | memcpy((u8*)&WPL_Store, SerialMsg.pData, sizeof(WPL_Store_t)); |
518 | memcpy((u8*)&WPL_Store, SerialMsg.pData, sizeof(WPL_Store_t)); |
519 | WPL_Store.Name[11] = 0; // make sure the name string is terminated |
519 | WPL_Store.Name[11] = 0; // make sure the name string is terminated |
520 | WPL_Answer.Index = WPL_Store.Index; // echo Index in cmd answer |
520 | WPL_Answer.Index = WPL_Store.Index; // echo Index in cmd answer |
521 | WPL_Answer.Status = PointList_SaveToFile(&WPL_Store); |
521 | WPL_Answer.Status = PointList_WriteToFile(&WPL_Store); |
522 | UART1_Request_WPLStore = TRUE; |
522 | UART1_Request_WPLStore = TRUE; |
Line 523... | Line 523... | ||
523 | break; |
523 | break; |