diff options
author | Keith Packard <keithp@keithp.com> | 2013-06-24 14:29:43 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-07-02 17:55:24 -0700 |
commit | d95a2c5d1ddce913dcb1d1ab5dc59f6a588ab599 (patch) | |
tree | 935bf8aad67c5c011e25ddf7e2131e92256da00c | |
parent | c542a2ed0f222bd0ec84e4a9651585d441dd7ccf (diff) |
altos: Remove ao_radio_gpio_bits from normal build
Only needed for the CC115L_TRACE code, and it only builds on STM
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/drivers/ao_cc115l.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/ao_cc115l.c b/src/drivers/ao_cc115l.c index 05e6a762..56afc3c7 100644 --- a/src/drivers/ao_cc115l.c +++ b/src/drivers/ao_cc115l.c @@ -655,12 +655,14 @@ ao_radio_test_cmd(void) } } +#if CC115L_TRACE static inline int16_t ao_radio_gpio_bits(void) { return AO_CC115L_DONE_INT_PORT->idr & ((1 << AO_CC115L_FIFO_INT_PIN) | (1 << AO_CC115L_DONE_INT_PIN)); } +#endif static void ao_radio_wait_fifo(void) |