diff options
Diffstat (limited to 'src/drivers/px4io')
-rw-r--r-- | src/drivers/px4io/px4io_serial.cpp | 2 | ||||
-rw-r--r-- | src/drivers/px4io/px4io_uploader.cpp | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/drivers/px4io/px4io_serial.cpp b/src/drivers/px4io/px4io_serial.cpp index 840b96f5b..236cb918d 100644 --- a/src/drivers/px4io/px4io_serial.cpp +++ b/src/drivers/px4io/px4io_serial.cpp @@ -61,7 +61,7 @@ #include <drivers/device/device.h> #include <drivers/drv_hrt.h> -#include <drivers/boards/px4fmuv2/px4fmu_internal.h> /* XXX should really not be hardcoding v2 here */ +#include <board_config.h> #include <systemlib/perf_counter.h> diff --git a/src/drivers/px4io/px4io_uploader.cpp b/src/drivers/px4io/px4io_uploader.cpp index ec22a5e17..c7ce60b5e 100644 --- a/src/drivers/px4io/px4io_uploader.cpp +++ b/src/drivers/px4io/px4io_uploader.cpp @@ -56,12 +56,7 @@ #include "uploader.h" -#ifdef CONFIG_ARCH_BOARD_PX4FMU_V2 -#include <drivers/boards/px4fmuv2/px4fmu_internal.h> -#endif -#ifdef CONFIG_ARCH_BOARD_PX4FMU_V1 -#include <drivers/boards/px4fmu/px4fmu_internal.h> -#endif +#include <board_config.h> // define for comms logging //#define UDEBUG |