Rev 496 | Rev 499 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 496 | Rev 497 | ||
---|---|---|---|
Line 525... | Line 525... | ||
525 | break; |
525 | break; |
Line 526... | Line 526... | ||
526 | 526 | ||
527 | case 'i':// Store WP List to file |
527 | case 'i':// Store WP List to file |
528 | memcpy((u8*)&WPL_Store, SerialMsg.pData, sizeof(WPL_Store_t)); |
528 | memcpy((u8*)&WPL_Store, SerialMsg.pData, sizeof(WPL_Store_t)); |
529 | WPL_Store.Name[11] = 0; // make sure the name string is terminated |
529 | WPL_Store.Name[11] = 0; // make sure the name string is terminated |
530 | WPL_Answer.Index = WPL_Store.Index; // echo Index |
530 | WPL_Answer.Index = WPL_Store.Index; // echo Index in cmd answer |
531 | WPL_Answer.Status = PointList_SaveToFile(&WPL_Store); |
531 | WPL_Answer.Status = PointList_SaveToFile(&WPL_Store); |
532 | UART1_Request_WPLStore = TRUE; |
532 | UART1_Request_WPLStore = TRUE; |