diff options
author | Keith Packard <keithp@keithp.com> | 2012-07-10 22:41:59 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-10 22:41:59 -0700 |
commit | 46407f7f3e4d2b6e74b3a2e90b38736a792cfc54 (patch) | |
tree | eb4b15fd39b0d9ed7a2131ef662429b050fa4908 /src/core/ao.h | |
parent | aa305da7e5dc182c99c09e422c053d85ed48d5d5 (diff) |
altos: Force 434.550Mhz by connecting debug gnd and clk (trac #41)
Check for pin P2_2 low at startup and set the frequency to
434.550MHz. This value won't get written to flash, so rebooting again
will restore the configured frequency.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r-- | src/core/ao.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h index 2e012f08..06daf48f 100644 --- a/src/core/ao.h +++ b/src/core/ao.h @@ -682,6 +682,13 @@ ao_igniter_init(void); * ao_config.c */ +#if HAS_FORCE_FREQ +/* + * Set this to force the frequency to 434.550MHz + */ +extern __xdata uint8_t ao_force_freq; +#endif + #define AO_CONFIG_MAJOR 1 #define AO_CONFIG_MINOR 11 |