From 07d93c16af222648ce616102195c1f9b3d5795fc Mon Sep 17 00:00:00 2001 From: "ucart@co3050-12" <dawehr@iastate.edu> Date: Thu, 23 Feb 2017 17:05:46 -0600 Subject: [PATCH] Removed requirement to receive "begin update" packet from ground station before flying. --- quad/sw/modular_quad_pid/src/initialize_components.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quad/sw/modular_quad_pid/src/initialize_components.c b/quad/sw/modular_quad_pid/src/initialize_components.c index 0b693dea6..742270a8e 100644 --- a/quad/sw/modular_quad_pid/src/initialize_components.c +++ b/quad/sw/modular_quad_pid/src/initialize_components.c @@ -24,8 +24,7 @@ int protection_loops(modular_structs_t *structs) // wait until throttle is low and the gear switch is engaged (so you don't immediately break out of the main loop below) // also wait for the flight mode to be set to manual - while(rc_commands[THROTTLE] > 125000 || read_kill(rc_commands[GEAR]) || !read_flap(rc_commands[FLAP]) || - !structs->user_input_struct.receivedBeginUpdate) { + while(rc_commands[THROTTLE] > 125000 || read_kill(rc_commands[GEAR]) || !read_flap(rc_commands[FLAP])) { process_received(structs); read_rec_all(rc_commands); } -- GitLab