From 99525a748e00406424b98a0952f0156437b30b6c Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 15 Sep 2019 17:09:26 -0700 Subject: altos: Replace ao_xmem functions with direct mem calls We no longer need to wrap these functions Signed-off-by: Keith Packard --- src/test/ao_flight_test.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/test') diff --git a/src/test/ao_flight_test.c b/src/test/ao_flight_test.c index 6d007575..35e0da3f 100644 --- a/src/test/ao_flight_test.c +++ b/src/test/ao_flight_test.c @@ -331,10 +331,6 @@ struct ao_cmds { const char *help; }; -#define ao_xmemcpy(d,s,c) memcpy(d,s,c) -#define ao_xmemset(d,v,c) memset(d,v,c) -#define ao_xmemcmp(d,s,c) memcmp(d,s,c) - #define AO_NEED_ALTITUDE_TO_PRES 1 #if TELEMEGA || TELEMETRUM_V2 || EASYMINI #include "ao_convert_pa.c" @@ -358,9 +354,6 @@ struct ao_ms5607_prom ao_ms5607_prom; struct ao_config ao_config; -#define x (x) - - extern int16_t ao_ground_accel, ao_flight_accel; extern int16_t ao_accel_2g; -- cgit v1.2.3