finish value of current speed in metric
This commit is contained in:
parent
303134c4a2
commit
8ce62c5cf4
@ -50,8 +50,10 @@ void TinyEurocat::OnGetTagItem( CFlightPlan FlightPlan,
|
||||
itoa(mcalt, sItemString, 10);
|
||||
break;
|
||||
case TAG_ITEM_MET_CURR_SPD:
|
||||
mcspd = RadarTarget.GetGS() * 1.852;
|
||||
itoa(mcspd, sItemString, 10);
|
||||
mcspd = RadarTarget.GetGS() * 1.852 / 10;
|
||||
char tmpstr[15];
|
||||
itoa(mcspd, tmpstr, 10);
|
||||
sprintf(sItemString, "%03s", tmpstr);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user