diff --git a/.gitmodules b/.gitmodules index d1af62be..c1fca3cb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,5 +5,5 @@ path = boards/varmint_h7 url = https://github.com/rosflight/varmint_h7.git [submodule "include/interfaces"] - path = include/interfaces + path = include/interface url = git@github.com:rosflight/rosflight_firmware-board-common.git diff --git a/CMakeLists.txt b/CMakeLists.txt index e496ab69..a6bda03a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +13,8 @@ cmake_minimum_required(VERSION 3.8) project(rosflight_firmware C CXX ASM) set(CMAKE_CXX_STANDARD 17) -set(CMAKE_C_STANDARD 11) - +set(CMAKE_C_STANDARD 11) + if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release") endif() @@ -41,7 +41,7 @@ endif() include_directories( include - include/interfaces + include/interface lib comms/mavlink comms/mavlink/v1.0 diff --git a/comms/mavlink/mavlink.h b/comms/mavlink/mavlink.h index f57287ad..a9a5fb7b 100644 --- a/comms/mavlink/mavlink.h +++ b/comms/mavlink/mavlink.h @@ -42,7 +42,7 @@ #include "v1.0/rosflight/mavlink.h" #pragma GCC diagnostic pop -#include "interfaces/comm_link.h" +#include "interface/comm_link.h" #include "board.h" diff --git a/include/comm_manager.h b/include/comm_manager.h index a68b1204..fc391363 100644 --- a/include/comm_manager.h +++ b/include/comm_manager.h @@ -32,7 +32,7 @@ #ifndef ROSFLIGHT_FIRMWARE_COMM_MANAGER_H #define ROSFLIGHT_FIRMWARE_COMM_MANAGER_H -#include "interfaces/comm_link.h" +#include "interface/comm_link.h" #include "param_listener.h" #include diff --git a/include/interfaces b/include/interface similarity index 100% rename from include/interfaces rename to include/interface diff --git a/include/rosflight.h b/include/rosflight.h index c350cddf..6d119fe6 100644 --- a/include/rosflight.h +++ b/include/rosflight.h @@ -32,7 +32,7 @@ #ifndef ROSFLIGHT_FIRMWARE_ROSFLIGHT_H #define ROSFLIGHT_FIRMWARE_ROSFLIGHT_H -#include "interfaces/comm_link.h" +#include "interface/comm_link.h" #include "param_listener.h" #include "board.h"