From ab31b1c737d8fd32af482e5b06699f1b832a25a1 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 15 Jan 2011 00:56:22 -0800 Subject: [PATCH 1/1] altos: Add DATA_TO_XDATA to linux test harness The flight test harness needs to expose every function used by the flight code in some form, and this macro is about to become used. Signed-off-by: Keith Packard --- src/ao_flight_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ao_flight_test.c b/src/ao_flight_test.c index 2bf7f2b2..e0cfa47a 100644 --- a/src/ao_flight_test.c +++ b/src/ao_flight_test.c @@ -154,6 +154,8 @@ struct ao_config { struct ao_config ao_config = { 250, 15937, 16467 }; +#define DATA_TO_XDATA(x) (x) + #include "ao_flight.c" void -- 2.30.2