Major formatting/whitespace cleanup

This commit is contained in:
px4dev
2012-10-23 23:38:45 -07:00
parent 34f99c7dca
commit 2fc1032069
50 changed files with 1112 additions and 810 deletions
+5 -3
View File
@@ -189,6 +189,7 @@ param_notify_changes(void)
*/
if (param_topic == -1) {
param_topic = orb_advertise(ORB_ID(parameter_update), &pup);
} else {
orb_publish(ORB_ID(parameter_update), param_topic, &pup);
}
@@ -455,6 +456,7 @@ param_reset(param_t param)
utarray_erase(param_values, pos, 1);
}
}
param_unlock();
if (s != NULL)
@@ -560,8 +562,7 @@ out:
return result;
}
struct param_import_state
{
struct param_import_state {
bool mark_saved;
};
@@ -689,9 +690,10 @@ param_import_internal(int fd, bool mark_saved)
do {
result = bson_decoder_next(&decoder);
} while(result > 0);
} while (result > 0);
out:
if (result < 0)
debug("BSON error decoding parameters");