Subversion Repositories FlightCtrl

Rev

Rev 754 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 754 Rev 765
Line 371... Line 371...
371
                if (heading < 0) heading = -heading;
371
                if (heading < 0) heading = -heading;
372
                else heading = 360 - heading;
372
                else heading = 360 - heading;
373
        }
373
        }
374
        else // MM3_Timeout = 0 i.e now new data from external board
374
        else // MM3_Timeout = 0 i.e now new data from external board
375
        {
375
        {
-
 
376
                if(!BeepTime) BeepTime = 100; // make noise to signal the compass problem
376
                heading = -1;
377
                heading = -1;
377
        }
378
        }
378
return heading;
379
return heading;
379
}
380
}