altos: Let ao_data.c be used by ao_flight_test
authorKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 04:55:36 +0000 (21:55 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 04:55:36 +0000 (21:55 -0700)
Just skip the ao headers in that case.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_data.c

index 77cd98e40cdc577bbfd7d998cdfb9f21b1fb5887..f8d8e7f1b66a2b1b950c5ee1e496731de4c41f27 100644 (file)
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
+#ifndef AO_FLIGHT_TEST
 #include <ao.h>
 #include <ao_data.h>
+#endif
 
 volatile struct ao_data        ao_data_ring[AO_DATA_RING];
 volatile uint8_t               ao_data_head;