Skip to content
Snippets Groups Projects
Commit df1b0f5a authored by dawehr's avatar dawehr
Browse files

Removed requirement to receive "begin update" packet from ground station before flying.

parent 35f72ed8
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment