diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-11 22:26:12 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-11 22:26:12 +0100 |
commit | a37e539647df2b3cfd335b33e4d186c4d39316b6 (patch) | |
tree | 9944ea5e5926d75ae69db23ecd6a1330d37e3c87 /src | |
parent | 0bcda7f8a6079ba20eeb4bbd4181872a5513acfc (diff) | |
download | px4-firmware-a37e539647df2b3cfd335b33e4d186c4d39316b6.tar.gz px4-firmware-a37e539647df2b3cfd335b33e4d186c4d39316b6.tar.bz2 px4-firmware-a37e539647df2b3cfd335b33e4d186c4d39316b6.zip |
Correctly initialize mission count
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/mavlink/mavlink_main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/mavlink/mavlink_main.cpp b/src/modules/mavlink/mavlink_main.cpp index 5bdf6c262..667580452 100644 --- a/src/modules/mavlink/mavlink_main.cpp +++ b/src/modules/mavlink/mavlink_main.cpp @@ -178,6 +178,7 @@ Mavlink::Mavlink() : _loop_perf(perf_alloc(PC_ELAPSED, "mavlink")) { _wpm = &_wpm_s; + mission.count = 0; fops.ioctl = (int (*)(file *, int, long unsigned int))&mavlink_dev_ioctl; _instance_id = Mavlink::instance_count(); |