Browse Source

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1824 f9c3cf11-9bcb-44bc-f272-b75c42450872

mission-4.1.18
jasonshort 14 years ago
parent
commit
f8a718e645
  1. 10
      ArduCopterMega/ArduCopterMega.pde

10
ArduCopterMega/ArduCopterMega.pde

@ -524,7 +524,11 @@ void medium_loop()
case 0: case 0:
medium_loopCounter++; medium_loopCounter++;
//update_GPS();
if(Serial1.available() > 0){
update_GPS();
}
//readCommands(); //readCommands();
if(g.compass_enabled){ if(g.compass_enabled){
@ -777,10 +781,6 @@ void super_slow_loop()
void update_GPS(void) void update_GPS(void)
{ {
if(Serial1.available() == 0){
return;
}
g_gps->update(); g_gps->update();
update_GPS_light(); update_GPS_light();

Loading…
Cancel
Save