summaryrefslogtreecommitdiff
path: root/src/ao_adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ao_adc.c')
-rw-r--r--src/ao_adc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ao_adc.c b/src/ao_adc.c
index 26209dcf..d9672671 100644
--- a/src/ao_adc.c
+++ b/src/ao_adc.c
@@ -61,9 +61,9 @@ ao_adc_isr(void) interrupt 1
}
static void
-ao_adc_dump(void)
+ao_adc_dump(void) __reentrant
{
- __xdata struct ao_adc packet;
+ static __xdata struct ao_adc packet;
ao_adc_get(&packet);
printf("tick: %5u accel: %4d pres: %4d temp: %4d batt: %4d drogue: %4d main: %4d\n",
packet.tick, packet.accel >> 4, packet.pres >> 4, packet.temp >> 4,