diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-02 12:50:15 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-02 12:50:15 +0100 |
commit | 55515f2e7e1aff53cb8f556997f82231c7c104f5 (patch) | |
tree | 2c21a23a236f6be47db0e3e72145df1237dc46c2 /apps/systemcmds/param | |
parent | a5193ba8417d33c13298530d439eaca7bc861209 (diff) | |
parent | 80ac43e21dadf727133201663169e6e931bc5a35 (diff) | |
download | px4-firmware-55515f2e7e1aff53cb8f556997f82231c7c104f5.tar.gz px4-firmware-55515f2e7e1aff53cb8f556997f82231c7c104f5.tar.bz2 px4-firmware-55515f2e7e1aff53cb8f556997f82231c7c104f5.zip |
Merge branch 'master' of github.com:pixhawk/Firmware
Diffstat (limited to 'apps/systemcmds/param')
-rw-r--r-- | apps/systemcmds/param/param.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/systemcmds/param/param.c b/apps/systemcmds/param/param.c index 53f9c365e..ce701b5ee 100644 --- a/apps/systemcmds/param/param.c +++ b/apps/systemcmds/param/param.c @@ -141,6 +141,9 @@ do_load(const char* param_file_name) if (fd < 0) err(1, "open '%s'", param_file_name); + /* set new default file name */ + param_set_default_file(param_file_name); + int result = param_load(fd); close(fd); |