diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-10-23 02:59:43 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-10-23 02:59:43 -0700 |
commit | 030164d6b0b13d7e032e50bbe1eb4252b6be88a3 (patch) | |
tree | 44d808ffd9e58124334aff992cac85abbe23eabd /src/modules/commander | |
parent | fa43eee47e07aee3517dae31b45ed3b05678ff94 (diff) | |
parent | 2f66a8894f1f8035bfc076306aa0d83197be108a (diff) | |
download | px4-firmware-030164d6b0b13d7e032e50bbe1eb4252b6be88a3.tar.gz px4-firmware-030164d6b0b13d7e032e50bbe1eb4252b6be88a3.tar.bz2 px4-firmware-030164d6b0b13d7e032e50bbe1eb4252b6be88a3.zip |
Merge pull request #486 from PX4/param_save_fix
Parameter saving fixed
Diffstat (limited to 'src/modules/commander')
-rw-r--r-- | src/modules/commander/commander.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 2ef509980..db758c386 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -687,7 +687,7 @@ int commander_thread_main(int argc, char *argv[]) bool updated = false; - bool rc_calibration_ok = (OK == rc_calibration_check()); + bool rc_calibration_ok = (OK == rc_calibration_check(mavlink_fd)); /* Subscribe to safety topic */ int safety_sub = orb_subscribe(ORB_ID(safety)); @@ -802,7 +802,7 @@ int commander_thread_main(int argc, char *argv[]) status_changed = true; /* re-check RC calibration */ - rc_calibration_ok = (OK == rc_calibration_check()); + rc_calibration_ok = (OK == rc_calibration_check(mavlink_fd)); /* navigation parameters */ param_get(_param_takeoff_alt, &takeoff_alt); |