mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 03:33:33 +08:00
parameters use bitset for mark_unsaved
This commit is contained in:
@@ -441,7 +441,7 @@ do_save(const char *param_file_name)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int result = param_export(fd, false, nullptr);
|
||||
int result = param_export(fd, nullptr);
|
||||
close(fd);
|
||||
|
||||
if (result < 0) {
|
||||
|
||||
@@ -408,7 +408,7 @@ bool ParameterTest::exportImportAll()
|
||||
return false;
|
||||
}
|
||||
|
||||
int result = param_export(fd, false, nullptr);
|
||||
int result = param_export(fd, nullptr);
|
||||
|
||||
if (result != PX4_OK) {
|
||||
PX4_ERR("param_export failed");
|
||||
|
||||
Reference in New Issue
Block a user