X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fao_flight.c;h=be9b3bb6f4cfdbf4e55a9681dac98bbec304b471;hp=6de6e7cc324620c0f6b82c3ae317d61d5f6ceb45;hb=0f2cbd41332b1b63865c5f1a4e749419b469853a;hpb=5834a12c1d3d71105c9e3d1ceaf9f3ffac9ff1eb diff --git a/src/ao_flight.c b/src/ao_flight.c index 6de6e7cc..be9b3bb6 100644 --- a/src/ao_flight.c +++ b/src/ao_flight.c @@ -325,13 +325,13 @@ ao_flight(void) * apogee detect */ ao_min_vel = abs(ao_flight_vel); - ao_flight_state = ao_flight_apogee; + ao_flight_state = ao_flight_coast; ao_wakeup(DATA_TO_XDATA(&ao_flight_state)); } break; - case ao_flight_apogee: + case ao_flight_coast: - /* apogee detect to drogue deploy: + /* apogee detect: coast to drogue deploy: * * accelerometer: abs(velocity) > min_velocity + 2m/s * OR