From 6023ff81f1bbd240169b9548209133d3b02d475f Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 15 Aug 2018 17:34:20 -0700 Subject: altos: Remove *_TO_DATA macros Now that we don't support 8051, we don't need these Signed-off-by: Keith Packard --- src/product/ao_terraui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/product') diff --git a/src/product/ao_terraui.c b/src/product/ao_terraui.c index c2bbc30e..f8f23a0f 100644 --- a/src/product/ao_terraui.c +++ b/src/product/ao_terraui.c @@ -588,7 +588,7 @@ ao_terramonitor(void) monitor = ao_monitor_ring_next(monitor)) { while (monitor == ao_monitor_head) - ao_sleep(DATA_TO_XDATA(&ao_monitor_head)); + ao_sleep(&ao_monitor_head); if (ao_monitoring != sizeof (union ao_telemetry_all)) continue; if (!(ao_monitor_ring[monitor].all.status & PKT_APPEND_STATUS_1_CRC_OK)) -- cgit v1.2.3