param_test link libmsg_gen

This commit is contained in:
Daniel Agar
2016-05-13 17:14:44 -04:00
committed by Lorenz Meier
parent cf667dedb8
commit 9c32792017
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -235,7 +235,9 @@ param_find_changed(param_t param)
static void
param_notify_changes(bool is_saved)
{
struct parameter_update_s pup = { .timestamp = hrt_absolute_time(), .saved = is_saved};
struct parameter_update_s pup;
pup.timestamp = hrt_absolute_time();
pup.saved = is_saved;
/*
* If we don't have a handle to our topic, create one now; otherwise