diff options
| author | Keith Packard <keithp@keithp.com> | 2009-11-02 21:48:16 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-11-02 23:51:41 -0800 | 
| commit | 79718e798e96567f0ba11c61f187e432fdcf95ee (patch) | |
| tree | bf75a26bfb2a0229dea0b154f10047795ddf50d2 | |
| parent | a4137263b69864c524d39c6ff88a0225fd06e79b (diff) | |
Remove "f" command
| -rw-r--r-- | src/ao_flight.c | 20 | 
1 files changed, 0 insertions, 20 deletions
diff --git a/src/ao_flight.c b/src/ao_flight.c index 92c955fb..f50491d9 100644 --- a/src/ao_flight.c +++ b/src/ao_flight.c @@ -454,27 +454,8 @@ ao_flight(void)  	}  } -#define AO_ACCEL_COUNT_TO_MSS(count)	((count) / 27) -#define AO_VEL_COUNT_TO_MS(count)	((int16_t) ((count) / 2700)) - -static void -ao_flight_status(void) __reentrant -{ -	printf("STATE: %7s accel: %d speed: %d altitude: %d main: %d\n", -	       ao_state_names[ao_flight_state], -	       AO_ACCEL_COUNT_TO_MSS( - ao_flight_accel), -	       AO_VEL_COUNT_TO_MS(ao_flight_vel), -	       ao_pres_to_altitude(ao_flight_pres), -	       ao_pres_to_altitude(ao_main_pres)); -} -  static __xdata struct ao_task	flight_task; -__code struct ao_cmds ao_flight_cmds[] = { -	{ 'f', ao_flight_status,	"f                                  Display current flight state" }, -	{ 0, ao_flight_status, NULL } -}; -  void  ao_flight_init(void)  { @@ -486,5 +467,4 @@ ao_flight_init(void)  	ao_interval_end = AO_INTERVAL_TICKS;  	ao_add_task(&flight_task, ao_flight, "flight"); -	ao_cmd_register(&ao_flight_cmds[0]);  }  | 
