Skip to content

Commit

Permalink
param_shmem sync with param
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed May 23, 2018
1 parent 3613117 commit 4c7d18b
Show file tree
Hide file tree
Showing 2 changed files with 311 additions and 179 deletions.
2 changes: 1 addition & 1 deletion src/lib/parameters/param.c
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,7 @@ param_import_internal(int fd, bool mark_saved)

if (bson_decoder_init_file(&decoder, fd, param_import_callback, &state)) {
PX4_ERR("decoder init failed");
return -ENODATA;
return PX4_ERROR;
}

state.mark_saved = mark_saved;
Expand Down
Loading

0 comments on commit 4c7d18b

Please sign in to comment.