From eb8ee7406662fcac04c640b824545a5325ecd013 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 4 Apr 2024 14:05:13 -0400 Subject: [PATCH] ekf2: move baro height file to aid_sources/barometer --- src/modules/ekf2/CMakeLists.txt | 2 +- src/modules/ekf2/EKF/CMakeLists.txt | 2 +- .../EKF/{ => aid_sources/barometer}/baro_height_control.cpp | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/modules/ekf2/EKF/{ => aid_sources/barometer}/baro_height_control.cpp (100%) diff --git a/src/modules/ekf2/CMakeLists.txt b/src/modules/ekf2/CMakeLists.txt index 4c7f3a991e..1ab6700348 100644 --- a/src/modules/ekf2/CMakeLists.txt +++ b/src/modules/ekf2/CMakeLists.txt @@ -150,7 +150,7 @@ endif() if(CONFIG_EKF2_BAROMETER) list(APPEND EKF_SRCS - EKF/baro_height_control.cpp + EKF/aid_sources/barometer/baro_height_control.cpp ) endif() diff --git a/src/modules/ekf2/EKF/CMakeLists.txt b/src/modules/ekf2/EKF/CMakeLists.txt index 45cbc26241..a0ff480377 100644 --- a/src/modules/ekf2/EKF/CMakeLists.txt +++ b/src/modules/ekf2/EKF/CMakeLists.txt @@ -68,7 +68,7 @@ endif() if(CONFIG_EKF2_BAROMETER) list(APPEND EKF_SRCS - baro_height_control.cpp + aid_sources/barometer/baro_height_control.cpp ) endif() diff --git a/src/modules/ekf2/EKF/baro_height_control.cpp b/src/modules/ekf2/EKF/aid_sources/barometer/baro_height_control.cpp similarity index 100% rename from src/modules/ekf2/EKF/baro_height_control.cpp rename to src/modules/ekf2/EKF/aid_sources/barometer/baro_height_control.cpp