summaryrefslogtreecommitdiff
path: root/src/cc1111
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-10 22:41:59 -0700
committerKeith Packard <keithp@keithp.com>2012-07-10 22:41:59 -0700
commit46407f7f3e4d2b6e74b3a2e90b38736a792cfc54 (patch)
treeeb4b15fd39b0d9ed7a2131ef662429b050fa4908 /src/cc1111
parentaa305da7e5dc182c99c09e422c053d85ed48d5d5 (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/cc1111')
-rw-r--r--src/cc1111/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cc1111/ao_pins.h b/src/cc1111/ao_pins.h
index e28a7b65..fc6ed3ec 100644
--- a/src/cc1111/ao_pins.h
+++ b/src/cc1111/ao_pins.h
@@ -163,6 +163,7 @@
#define HAS_ADC 1
#define HAS_EEPROM 1
#define HAS_LOG 1
+ #define HAS_FORCE_FREQ 1
#define USE_INTERNAL_FLASH 1
#define HAS_DBG 0
#define IGNITE_ON_P2 0