parameters: add simple BSON verification pass after export

This commit is contained in:
Daniel Agar
2021-12-23 17:20:28 -05:00
parent 72065c3d71
commit 20d3e6f4e1
5 changed files with 126 additions and 22 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ static int
do_save(const char *param_file_name)
{
/* create the file */
int fd = open(param_file_name, O_WRONLY | O_CREAT, PX4_O_MODE_666);
int fd = open(param_file_name, O_RDWR | O_CREAT, PX4_O_MODE_666);
if (fd < 0) {
PX4_ERR("open '%s' failed (%i)", param_file_name, errno);