Subversion Repositories NaviCtrl

Rev

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

Rev 105 Rev 110
Line 280... Line 280...
280
}
280
}
Line 281... Line 281...
281
 
281
 
282
//------------------------------------------------------------
282
//------------------------------------------------------------
283
void GPS_Init(void)
283
void GPS_Init(void)
284
{
284
{
285
        SerialPutString("\r\n GPS init...");
285
        UART1_PutString("\r\n GPS init...");
286
        UBX_Init();
286
        UBX_Init();
287
        GPS_Neutral();
287
        GPS_Neutral();
288
        GPS_ClearPosition(&GPS_HoldPosition);
288
        GPS_ClearPosition(&GPS_HoldPosition);
289
        GPS_ClearPosition(&GPS_HomePosition);
289
        GPS_ClearPosition(&GPS_HomePosition);
290
        GPS_pTargetPosition = NULL;
290
        GPS_pTargetPosition = NULL;
291
        WPList_Init();
291
        WPList_Init();
292
        GPS_pWaypoint = WPList_Begin();
292
        GPS_pWaypoint = WPList_Begin();
293
        GPS_UpdateParameter();
293
        GPS_UpdateParameter();
294
        SerialPutString("ok");
294
        UART1_PutString("ok");
Line 295... Line 295...
295
}
295
}
296
 
296
 
297
//------------------------------------------------------------
297
//------------------------------------------------------------