Skip to content
Snippets Groups Projects
Commit b0b93f89 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

AP_BoardConfig: switch pixracer to always use in-tree drivers

parent 84c3e298
No related branches found
No related tags found
No related merge requests found
...@@ -57,8 +57,7 @@ public: ...@@ -57,8 +57,7 @@ public:
#endif #endif
PX4_BOARD_TEST_V1 = 101, PX4_BOARD_TEST_V1 = 101,
PX4_BOARD_TEST_V2 = 102, PX4_BOARD_TEST_V2 = 102,
PX4_BOARD_TEST_V3 = 103, PX4_BOARD_TEST_V3 = 103
PX4_BOARD_TEST_V4 = 104,
}; };
#endif #endif
......
...@@ -659,11 +659,15 @@ void AP_BoardConfig::px4_setup_drivers(void) ...@@ -659,11 +659,15 @@ void AP_BoardConfig::px4_setup_drivers(void)
} }
#endif #endif
#if defined(CONFIG_ARCH_BOARD_PX4FMU_V4)
px4.board_type.set_and_notify(PX4_BOARD_PIXRACER);
#endif
if (px4.board_type == PX4_BOARD_TEST_V1 || if (px4.board_type == PX4_BOARD_TEST_V1 ||
px4.board_type == PX4_BOARD_TEST_V2 || px4.board_type == PX4_BOARD_TEST_V2 ||
px4.board_type == PX4_BOARD_TEST_V3 || px4.board_type == PX4_BOARD_TEST_V3 ||
px4.board_type == PX4_BOARD_TEST_V4 || px4.board_type == PX4_BOARD_PHMINI ||
px4.board_type == PX4_BOARD_PHMINI) { px4.board_type == PX4_BOARD_PIXRACER) {
// use in-tree drivers // use in-tree drivers
printf("Using in-tree drivers\n"); printf("Using in-tree drivers\n");
px4_configured_board = (enum px4_board_type)px4.board_type.get(); px4_configured_board = (enum px4_board_type)px4.board_type.get();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment