Return double precision float as requested in generic/binary protocol.
This commit is contained in:
parent
5a8e6aeb86
commit
e27be6ee92
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ bool FGGeneric::gen_message_binary() {
|
||||||
case FG_DOUBLE:
|
case FG_DOUBLE:
|
||||||
{
|
{
|
||||||
val = _out_message[i].offset +
|
val = _out_message[i].offset +
|
||||||
_out_message[i].prop->getFloatValue() * _out_message[i].factor;
|
_out_message[i].prop->getDoubleValue() * _out_message[i].factor;
|
||||||
u64 tmpun64;
|
u64 tmpun64;
|
||||||
tmpun64.doubleVal = val;
|
tmpun64.doubleVal = val;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue