mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1824 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
11d71e77c8
commit
c7621f92b0
@ -524,7 +524,11 @@ void medium_loop()
|
||||
case 0:
|
||||
medium_loopCounter++;
|
||||
|
||||
//update_GPS();
|
||||
|
||||
if(Serial1.available() > 0){
|
||||
update_GPS();
|
||||
}
|
||||
|
||||
//readCommands();
|
||||
|
||||
if(g.compass_enabled){
|
||||
@ -777,10 +781,6 @@ void super_slow_loop()
|
||||
|
||||
void update_GPS(void)
|
||||
{
|
||||
if(Serial1.available() == 0){
|
||||
return;
|
||||
}
|
||||
|
||||
g_gps->update();
|
||||
update_GPS_light();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user