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-29 07:56:24 +02:00
committed by Beat Küng
parent 1f7080a710
commit 59e86c490d
50 changed files with 66 additions and 2 deletions
@@ -43,6 +43,7 @@
*/
#include <px4_platform_common/defines.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/posix.h>
#include <px4_platform_common/shutdown.h>
+2
View File
@@ -31,6 +31,8 @@
*
****************************************************************************/
#include <string.h>
/**
* @file parameters_common.cpp
*
+3
View File
@@ -38,6 +38,9 @@
*/
#define PARAM_IMPLEMENTATION
#include <errno.h>
#include "param.h"
#include "parameters_ioctl.h"
#include <px4_platform_common/defines.h>
+1
View File
@@ -42,6 +42,7 @@
#define PARAM_IMPLEMENTATION
#include "param.h"
#include <px4_platform/board_ctrl.h>
#include <px4_platform_common/defines.h>
#define _PARAMIOC(_n) (_PX4_IOC(_PARAMIOCBASE, _n))
+1
View File
@@ -42,6 +42,7 @@
#include <parameters/px4_parameters.hpp>
#include <sys/boardctl.h>
#include <px4_platform_common/defines.h>
#include <px4_platform_common/log.h>
#include "parameters_common.cpp"