diff options
author | px4dev <px4@purgatory.org> | 2012-10-28 16:04:25 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-29 21:47:51 -0700 |
commit | 3420e7b828894bff502cbf9f70fac5ce262542b2 (patch) | |
tree | 350d70b87cb23988f5a82e1792ba3086c514a98c /apps/systemlib | |
parent | 4c18aced369b91ce5ba14c471e1677c9a28e8707 (diff) | |
download | px4-firmware-3420e7b828894bff502cbf9f70fac5ce262542b2.tar.gz px4-firmware-3420e7b828894bff502cbf9f70fac5ce262542b2.tar.bz2 px4-firmware-3420e7b828894bff502cbf9f70fac5ce262542b2.zip |
Fix param handling of 32-bit BSON nodes
Diffstat (limited to 'apps/systemlib')
-rw-r--r-- | apps/systemlib/param/param.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/systemlib/param/param.c b/apps/systemlib/param/param.c index 44f05047a..365bd3d19 100644 --- a/apps/systemlib/param/param.c +++ b/apps/systemlib/param/param.c @@ -600,7 +600,7 @@ param_import_callback(bson_decoder_t decoder, void *private, bson_node_t node) */ switch (node->type) { - case BSON_INT: + case BSON_INT32: if (param_type(param) != PARAM_TYPE_INT32) { debug("unexpected type for '%s", node->name); goto out; |