summaryrefslogtreecommitdiff
path: root/src/lpc/ao_adc_lpc.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-20 22:58:10 -0800
committerKeith Packard <keithp@keithp.com>2013-12-20 22:59:35 -0800
commite11fcc299f4a1a0461a3442ca13f8984d76c30ff (patch)
tree8f19589e7bc35d3f0afbccdeef497cabce85289f /src/lpc/ao_adc_lpc.c
parent4ed108fb86676daea17264d7159c2cff9ea7a6e4 (diff)
altos: Clean up warnings for LPC products
Unused varibles, functions and parameters. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_adc_lpc.c')
-rw-r--r--src/lpc/ao_adc_lpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lpc/ao_adc_lpc.c b/src/lpc/ao_adc_lpc.c
index 7005f86e..e1aae0e4 100644
--- a/src/lpc/ao_adc_lpc.c
+++ b/src/lpc/ao_adc_lpc.c
@@ -149,8 +149,10 @@ static void
ao_adc_dump(void) __reentrant
{
struct ao_data packet;
+#ifndef AO_ADC_DUMP
int16_t *d;
uint8_t i;
+#endif
ao_data_get(&packet);
#ifdef AO_ADC_DUMP