Fix a whole bunch of sanity checks across all mixers

This commit is contained in:
Lorenz Meier
2013-09-22 14:20:19 +02:00
parent d29a1b69e5
commit 9424728af9
4 changed files with 48 additions and 17 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ mixer_tick(void)
}
/* do the calculations during the ramp for all at once */
if(esc_state == ESC_RAMP) {
if (esc_state == ESC_RAMP) {
ramp_promille = (1000*(hrt_elapsed_time(&esc_init_time)-ESC_INIT_TIME_US))/ESC_RAMP_TIME_US;
}