From: Keith Packard Date: Sat, 15 Jan 2011 08:56:22 +0000 (-0800) Subject: altos: Add DATA_TO_XDATA to linux test harness X-Git-Tag: debian/0.8.1+71+gda42f40~5 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=ab31b1c737d8fd32af482e5b06699f1b832a25a1 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 --- 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