diff --git a/test/main.cpp b/test/main.cpp index dbf179c..5468ddb 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -35,7 +35,10 @@ ****************************************************************************** **/ -#include +#include +#include + +extern rosflight_firmware::Board &board; #ifdef __cplusplus extern "C" @@ -48,8 +51,8 @@ extern "C" int main(void) { - extern rosflight_firmware::Board *board; - board->init_board(); + extern rosflight_firmware::Board &board; + board.init_board(); return 0; }