diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-03 13:47:46 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-09 22:56:23 +0100 |
commit | 807cf7bd16536cbfb9632eb908faf22e44fa9233 (patch) | |
tree | 8edbb847d1d4ee077d9fca2e42751c1bf6d2f348 /src/modules/commander/state_machine_helper.cpp | |
parent | ac155b0faca7e9c378e9059d318e1f5151c61561 (diff) | |
download | px4-firmware-807cf7bd16536cbfb9632eb908faf22e44fa9233.tar.gz px4-firmware-807cf7bd16536cbfb9632eb908faf22e44fa9233.tar.bz2 px4-firmware-807cf7bd16536cbfb9632eb908faf22e44fa9233.zip |
Commander: Implement calibration routines for multi-sensor setups
Diffstat (limited to 'src/modules/commander/state_machine_helper.cpp')
-rw-r--r-- | src/modules/commander/state_machine_helper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp index 40da9c77b..40aa4a2f0 100644 --- a/src/modules/commander/state_machine_helper.cpp +++ b/src/modules/commander/state_machine_helper.cpp @@ -652,7 +652,7 @@ int prearm_check(const struct vehicle_status_s *status, const int mavlink_fd) int ret; bool failed = false; - int fd = open(ACCEL_DEVICE_PATH, O_RDONLY); + int fd = open(ACCEL0_DEVICE_PATH, O_RDONLY); if (fd < 0) { mavlink_log_critical(mavlink_fd, "ARM FAIL: ACCEL SENSOR MISSING"); |