1
0
Fork 0

Set the format default to float instead of int.

This commit is contained in:
ehofman 2004-10-15 11:29:09 +00:00
parent ebae60a00b
commit ca31288e64

View file

@ -267,7 +267,7 @@ FGGeneric::read_config(SGPropertyNode *root, vector<_serial_prot> &msg)
_serial_prot chunk;
// chunk.name = chunks[i]->getStringValue("name");
chunk.format = chunks[i]->getStringValue("format", "%d");
chunk.format = chunks[i]->getStringValue("format", "%f");
chunk.offset = chunks[i]->getDoubleValue("offset");
chunk.factor = chunks[i]->getDoubleValue("offset", 1.0);