Remove include <log.h> from defines.h

The reason for this is that log.h includes drv_hrt.h which sucks in
half the project's include files with it, which causes strange build
issues
This commit is contained in:
Ville Juven
2022-09-23 13:58:44 +03:00
committed by Beat Küng
parent 1f7080a710
commit 59e86c490d
50 changed files with 66 additions and 2 deletions
+2
View File
@@ -33,6 +33,8 @@
#pragma once
#include <stdint.h>
#include <matrix/matrix/math.hpp>
#include <px4_platform_common/defines.h>
@@ -43,6 +43,7 @@
#define EKF_ESTIMATOR_INTERFACE_H
#if defined(MODULE_NAME)
#include <px4_platform_common/log.h>
# define ECL_INFO PX4_DEBUG
# define ECL_WARN PX4_DEBUG
# define ECL_ERR PX4_DEBUG
+1 -1
View File
@@ -40,7 +40,7 @@
#include <matrix/matrix/math.hpp>
#include <px4_platform_common/posix.h>
#include <px4_platform_common/defines.h>
#include <px4_platform_common/log.h>
namespace gimbal
{
+1
View File
@@ -34,6 +34,7 @@
#include "input_test.h"
#include <px4_platform_common/posix.h>
#include <px4_platform_common/log.h>
#include <lib/matrix/matrix/math.hpp>
#include <lib/mathlib/mathlib.h>
+1
View File
@@ -41,6 +41,7 @@
#include <mathlib/mathlib.h>
#include <px4_platform_common/posix.h>
#include <px4_platform_common/crypto.h>
#include <px4_platform_common/log.h>
#ifdef __PX4_NUTTX
#include <systemlib/hardfault_log.h>
#endif /* __PX4_NUTTX */
+2
View File
@@ -40,6 +40,8 @@
#include "mavlink_shell.h"
#include <px4_platform_common/defines.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/posix.h>
#include <unistd.h>
#include <errno.h>