diff options
| author | Keith Packard <keithp@keithp.com> | 2009-12-04 23:38:26 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-12-04 23:41:19 -0800 | 
| commit | cd49847f3125df1733f298b56a43e8027ab5ce05 (patch) | |
| tree | 0911a9e56404f9de20bbe475f6b881aa24dbadb6 /src/ao.h | |
| parent | c671a3f31f54715284beef5baa4a72ca922e4018 (diff) | |
Add radio calibration configuration.
The crystal we use is only good for 20ppm, which generates a fairly
significant error bounds at our RF frequency. This commit adds a
configuration variable that sets the RF frequency control variable so
that the output frequency can be adjusted.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
| -rw-r--r-- | src/ao.h | 9 | 
1 files changed, 5 insertions, 4 deletions
| @@ -938,17 +938,18 @@ ao_igniter_init(void);   */  #define AO_CONFIG_MAJOR	1 -#define AO_CONFIG_MINOR	2 +#define AO_CONFIG_MINOR	3  struct ao_config {  	uint8_t		major;  	uint8_t		minor;  	uint16_t	main_deploy; -	int16_t		accel_plus_g; +	int16_t		accel_plus_g;		/* changed for minor version 2 */  	uint8_t		radio_channel;  	char		callsign[AO_MAX_CALLSIGN + 1]; -	uint8_t		apogee_delay; -	int16_t		accel_minus_g; +	uint8_t		apogee_delay;		/* minor version 1 */ +	int16_t		accel_minus_g;		/* minor version 2 */ +	uint32_t	radio_frequency;	/* minor version 3 */  };  extern __xdata struct ao_config ao_config; | 
