MissionPlanner.MagCalib.setMinorMax C# (CSharp) Method

setMinorMax() private static method

Min or max finder
private static setMinorMax ( float value, float &min, float &max ) : void
value float value to process
min float current min
max float current max
return void
        private static void setMinorMax(float value, ref float min, ref float max)
        {
            if (value > max)
                max = value;
            if (value < min)
                min = value;
        }