Subversion Repositories Projects

Rev

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

Rev 408 Rev 410
Line 567... Line 567...
567
                    }
567
                    }
Line 568... Line 568...
568
 
568
 
569
                    //write_number_s(8, 5, RxDataLen);
569
                    //write_number_s(8, 5, RxDataLen);
Line 570... Line 570...
570
                    //write_number_s(16, 5, setsReceived++);
570
                    //write_number_s(16, 5, setsReceived++);
-
 
571
 
571
 
572
                    // remember statistics (only when engines running)
572
                    // remember statistics
573
                    if (naviData.MKFlags & FLAG_MOTOR_RUN) {
573
                    if (naviData.Altimeter > max_Altimeter) max_Altimeter = naviData.Altimeter;
574
                        if (naviData.Altimeter > max_Altimeter) max_Altimeter = naviData.Altimeter;
574
                    if (naviData.GroundSpeed > max_GroundSpeed) max_GroundSpeed = naviData.GroundSpeed;
575
                        if (naviData.GroundSpeed > max_GroundSpeed) max_GroundSpeed = naviData.GroundSpeed;
575
                    if (naviData.HomePositionDeviation.Distance > max_Distance) {
576
                        if (naviData.HomePositionDeviation.Distance > max_Distance) {
576
                        max_Distance = naviData.HomePositionDeviation.Distance;
577
                                max_Distance = naviData.HomePositionDeviation.Distance;
577
                    }
578
                        }
-
 
579
                        if (naviData.UBat < min_UBat) min_UBat = naviData.UBat;
Line 578... Line 580...
578
                    if (naviData.UBat < min_UBat) min_UBat = naviData.UBat;
580
                        if (naviData.FlyingTime > max_FlyingTime) max_FlyingTime = naviData.FlyingTime;
579
                    if (naviData.FlyingTime > max_FlyingTime) max_FlyingTime = naviData.FlyingTime;
581
                    }
580
 
582
 
581
                    old_MKFlags = naviData.MKFlags;
583
                    old_MKFlags = naviData.MKFlags;