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
+1
View File
@@ -41,6 +41,7 @@
#include <cstring>
#include <px4_platform_common/log.h>
#include <px4_platform_common/posix.h>
namespace device
+3
View File
@@ -40,9 +40,12 @@
#ifndef _DEVICE_DEVICE_HPP
#define _DEVICE_DEVICE_HPP
#include <cstdio>
/*
* Includes here should only cover the needs of the framework definitions.
*/
#include <px4_platform_common/log.h>
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/posix.h>
+1
View File
@@ -37,6 +37,7 @@
* LED driver to control the onboard LED(s) via ioctl interface.
*/
#include <px4_platform_common/log.h>
#include <px4_platform_common/px4_config.h>
#include <lib/cdev/CDev.hpp>
#include <drivers/drv_board_led.h>