aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander/state_machine_helper.cpp
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-10-13 03:10:23 -0700
committerLorenz Meier <lm@inf.ethz.ch>2013-10-13 03:10:23 -0700
commitdb4ff7f080dab08e2558b006ac8c657466c144c6 (patch)
treee4510f77e1b5820065c1d942b44741c207855718 /src/modules/commander/state_machine_helper.cpp
parent90127b2d2a836f75383db8c97d2297333149e6ae (diff)
parent3fd20481888fd9e63806f988153abe4bf82e7a04 (diff)
downloadpx4-firmware-db4ff7f080dab08e2558b006ac8c657466c144c6.tar.gz
px4-firmware-db4ff7f080dab08e2558b006ac8c657466c144c6.tar.bz2
px4-firmware-db4ff7f080dab08e2558b006ac8c657466c144c6.zip
Merge pull request #446 from PX4/commander_fixes
commander fixes
Diffstat (limited to 'src/modules/commander/state_machine_helper.cpp')
-rw-r--r--src/modules/commander/state_machine_helper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp
index efe12be57..490fc8fc6 100644
--- a/src/modules/commander/state_machine_helper.cpp
+++ b/src/modules/commander/state_machine_helper.cpp
@@ -504,7 +504,6 @@ int hil_state_transition(hil_state_t new_state, int status_pub, struct vehicle_s
if (valid_transition) {
current_status->hil_state = new_state;
- current_status->counter++;
current_status->timestamp = hrt_absolute_time();
orb_publish(ORB_ID(vehicle_status), status_pub, current_status);