- { 'm', ao_config_main_deploy_set, ao_config_main_deploy_show,
- "m <meters> Set height above launch for main deploy (in meters)" },
- { 'd', ao_config_apogee_delay_set, ao_config_apogee_delay_show,
- "d <delay> Set apogee igniter delay (in seconds)" },
- { 'r', ao_config_radio_channel_set, ao_config_radio_channel_show,
- "r <channel> Set radio channel (freq = 434.550 + channel * .1)" },
- { 'c', ao_config_callsign_set, ao_config_callsign_show,
- "c <call> Set callsign broadcast in each packet (8 char max)" },
- { 'a', ao_config_accel_calibrate_set, ao_config_accel_calibrate_show,
- "a <+g> <-g> Set accelerometer calibration (0 for auto)" },
- { 'f', ao_config_radio_cal_set, ao_config_radio_cal_show,
- "f <cal> Set radio calibration value (cal = rf/(xtal/2^16))" },
- { 's', ao_config_show, ao_config_show,
- "s Show current config values" },
- { 'w', ao_config_write, ao_config_write,
- "w Write current values to eeprom" },
- { '?', ao_config_help, ao_config_help,
- "? Show available config variables" },
- { 0, ao_config_main_deploy_set, ao_config_main_deploy_show,
- NULL },
+#if HAS_ADC
+ { "m <meters>\0Main deploy (in meters)",
+ ao_config_main_deploy_set, ao_config_main_deploy_show, },
+ { "d <delay>\0Apogee delay (in seconds)",
+ ao_config_apogee_delay_set, ao_config_apogee_delay_show },
+#endif /* HAS_ADC */
+ { "r <channel>\0Radio channel (freq = 434.550 + chan * .1)",
+ ao_config_radio_channel_set, ao_config_radio_channel_show },
+ { "c <call>\0Callsign (8 char max)",
+ ao_config_callsign_set, ao_config_callsign_show },
+#if HAS_ACCEL
+ { "a <+g> <-g>\0Accel calib (0 for auto)",
+ ao_config_accel_calibrate_set,ao_config_accel_calibrate_show },
+#endif /* HAS_ACCEL */
+ { "f <cal>\0Radio calib (cal = rf/(xtal/2^16))",
+ ao_config_radio_cal_set, ao_config_radio_cal_show },
+#if HAS_EEPROM
+ { "l <size>\0Flight log size in kB",
+ ao_config_log_set, ao_config_log_show },
+#endif
+ { "s\0Show",
+ ao_config_show, ao_config_show },
+#if HAS_EEPROM
+ { "w\0Write to eeprom",
+ ao_config_write, ao_config_write },
+#endif
+ { "?\0Help",
+ ao_config_help, ao_config_help },
+ { 0, 0, 0 }