Don't build interface drivers we don't have config for.

This commit is contained in:
px4dev
2013-07-14 12:40:26 -07:00
parent f8f6a43fea
commit b11e05d614
2 changed files with 8 additions and 8 deletions
+4
View File
@@ -67,6 +67,8 @@
#include <modules/px4iofirmware/protocol.h>
#ifdef PX4IO_SERIAL_BASE
device::Device *PX4IO_serial_interface();
/* serial register accessors */
@@ -667,3 +669,5 @@ PX4IO_serial::_abort_dma()
stm32_dmastop(_tx_dma);
stm32_dmastop(_rx_dma);
}
#endif /* PX4IO_SERIAL_BASE */