From ce481795d15a5333fd72ac3da334dda07f5d5455 Mon Sep 17 00:00:00 2001
From: "ucart@co3050-12" <dawehr@iastate.edu>
Date: Fri, 14 Apr 2017 21:38:04 -0500
Subject: [PATCH] Updated optical_flow to work with normalized PWM.

---
 quad/src/quad_app/quad_app.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quad/src/quad_app/quad_app.c b/quad/src/quad_app/quad_app.c
index a8a81a083..3839b1b14 100644
--- a/quad/src/quad_app/quad_app.c
+++ b/quad/src/quad_app/quad_app.c
@@ -115,7 +115,7 @@ int quad_main(int (*setup_hardware)(hardware_t *hardware_struct))
 		timer_end_loop(&(structs.log_struct));
 
 		if (iic_get_consecutive_gam_timeout_failures() > 10) {
-			kill_motors(&(structs.hardware_struct.pwm_outputs));
+			kill_motors(&(structs.hardware_struct.motors));
 			printLogging(&structs.hardware_struct, &(structs.log_struct), &(structs.parameter_struct));
 			break;
 		}
-- 
GitLab