summaryrefslogtreecommitdiff
path: root/src/megadongle-v0.1
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-12-16 16:04:05 -0800
committerKeith Packard <keithp@keithp.com>2012-12-16 16:04:05 -0800
commit22a58b0f9b82ea8c7abeda79ca7a4cd21c3dc93c (patch)
treeb7e3bae3670fc0e4b55571f3ea9abee48bf841ee /src/megadongle-v0.1
parent4e3ac3f2038cc3a43252fc8f820a1373a637ab83 (diff)
altos: Wire up another CC1120 GPIO to get MARC status changes
When the radio drops out of RX or TX mode due to an error, it changes the MARC status, and sends pulse down a configured GPIO. Use this to tell when something 'bad' happened during TX or RX so that we can recover from losing the SPI bus in the middle of transmission or reception. Without this, the radio would change state and we'd never know, leaving the radio code waiting for an interrupt that would never arrive. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/megadongle-v0.1')
-rw-r--r--src/megadongle-v0.1/ao_pins.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/megadongle-v0.1/ao_pins.h b/src/megadongle-v0.1/ao_pins.h
index cabe9ee2..efbcd775 100644
--- a/src/megadongle-v0.1/ao_pins.h
+++ b/src/megadongle-v0.1/ao_pins.h
@@ -140,7 +140,6 @@
#define AO_CC1120_INT_PIN 14
#define AO_CC1120_INT_GPIO 2
-#define HAS_BOOT_RADIO 1
/*
* Profiling Viterbi decoding