1
0
Fork 0

Return double precision float as requested in generic/binary protocol.

This commit is contained in:
Michał Gawron 2013-01-27 15:06:15 +01:00 committed by James Turner
parent 5a8e6aeb86
commit e27be6ee92

View file

@ -144,7 +144,7 @@ bool FGGeneric::gen_message_binary() {
case FG_DOUBLE:
{
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;
tmpun64.doubleVal = val;