heh, no. That's BS. printf does rounding already. Remains the heading
limitation to avoid 360 degree.
This commit is contained in:
parent
96b3c3854f
commit
a70ed967f1
1 changed files with 3 additions and 6 deletions
|
@ -101,9 +101,8 @@
|
|||
<height>40</height>
|
||||
<input>
|
||||
<property>/velocities/airspeed-kt</property>
|
||||
<offset>0.5</offset>
|
||||
</input>
|
||||
<format>%4ld</format>
|
||||
<format>%4.0f</format>
|
||||
<halign>left</halign>
|
||||
</label>
|
||||
|
||||
|
@ -125,9 +124,8 @@
|
|||
<height>40</height>
|
||||
<input>
|
||||
<property>/position/altitude-ft</property>
|
||||
<offset>0.5</offset>
|
||||
</input>
|
||||
<format>%4ld</format>
|
||||
<format>%4.0f</format>
|
||||
<halign>left</halign>
|
||||
</label>
|
||||
|
||||
|
@ -177,10 +175,9 @@
|
|||
<height>2</height>
|
||||
<input>
|
||||
<property>/orientation/heading-deg</property>
|
||||
<offset>0.5</offset>
|
||||
<max>359.999</max>
|
||||
</input>
|
||||
<format>%04ld</format>
|
||||
<format>%04.0f</format>
|
||||
<halign>left</halign>
|
||||
<modulo>360</modulo>
|
||||
</label>
|
||||
|
|
Loading…
Reference in a new issue