From d95a2c5d1ddce913dcb1d1ab5dc59f6a588ab599 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 24 Jun 2013 14:29:43 -0700 Subject: [PATCH] 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 --- src/drivers/ao_cc115l.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2