diff options
author | Julian Oes <julian@oes.ch> | 2013-06-19 09:35:19 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-06-19 09:35:19 +0200 |
commit | f3ce61d7405a7edc1e5bb2aadf2ccec5bed90feb (patch) | |
tree | a6c2fd2f1791ba2b8a8c5198dae09da0f3b8e2f5 /src | |
parent | 202792294ac8a4d0db2c0e64d944be8e95608930 (diff) | |
download | px4-firmware-f3ce61d7405a7edc1e5bb2aadf2ccec5bed90feb.tar.gz px4-firmware-f3ce61d7405a7edc1e5bb2aadf2ccec5bed90feb.tar.bz2 px4-firmware-f3ce61d7405a7edc1e5bb2aadf2ccec5bed90feb.zip |
Forgot to remove some debug stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/px4iofirmware/mixer.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/px4iofirmware/mixer.cpp b/src/modules/px4iofirmware/mixer.cpp index e3ec2fa76..6752a8128 100644 --- a/src/modules/px4iofirmware/mixer.cpp +++ b/src/modules/px4iofirmware/mixer.cpp @@ -179,14 +179,12 @@ mixer_tick(void) if (mixer_servos_armed && !esc_init_done && !esc_init_active) { esc_init_time = hrt_absolute_time(); esc_init_active = true; - isr_debug(1, "start counting now"); } /* after waiting long enough for the ESC initialization, we can disable the ESC initialization phase */ if (!esc_init_done && esc_init_active && mixer_servos_armed && (hrt_elapsed_time(&esc_init_time) > ESC_INIT_TIME_US)) { esc_init_active = false; esc_init_done = true; - isr_debug(1, "time is up"); } /* mix */ @@ -251,9 +249,7 @@ mixer_tick(void) r_status_flags &= ~(PX4IO_P_STATUS_FLAGS_OUTPUTS_ARMED); isr_debug(5, "> disarmed"); - esc_init_active = false; - isr_debug(1, "disarming, and init aborted"); - } + esc_init_active = false; } if (mixer_servos_armed) { /* update the servo outputs. */ |