Subversion Repositories NaviCtrl

Rev

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

Rev 498 Rev 500
Line 495... Line 495...
495
                                        else index = 1;
495
                                        else index = 1;
496
                                }
496
                                }
497
                                if(Keys & KEY4)
497
                                if(Keys & KEY4)
498
                                {
498
                                {
499
                                        WPL_Store.Index = index;
499
                                        WPL_Store.Index = index;
500
                                        ret = PointList_ReadFromFile(&WPL_Store);                      
500
                                        if(PointList_ReadFromFile(&WPL_Store) == WPL_OK)
-
 
501
                                        {                      
-
 
502
                                     if(FC.StatusFlags & FC_STATUS_FLY) PointList_WPActive(TRUE);
-
 
503
                                 GPS_pWaypoint = PointList_WPBegin(); // updates POI index
-
 
504
                                     BeepTime = 150;
-
 
505
                                    }
501
                                }
506
                                }
502
                                LCD_printfxy(0,0,"Load WPL" );
507
                                LCD_printfxy(0,0,"Load WPL" );
503
                                LCD_printfxy(0,1,"Name: %s", WPL_Store.Name);
508
                                LCD_printfxy(0,1,"Name: %s", WPL_Store.Name);
504
                                //                12345678901234567890
509
                                //                12345678901234567890
505
                                LCD_printfxy(0,2,"Points    Index     ");
510
                                LCD_printfxy(0,2,"Points    Index     ");