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
@@ -35,6 +35,7 @@
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/defines.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/time.h>
#include <drivers/device/i2c.h>
#include <px4_platform_common/i2c_spi_buses.h>
@@ -38,6 +38,7 @@
*/
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/log.h>
#include <drivers/device/i2c.h>
#include "hmc5883.h"
@@ -38,6 +38,7 @@
*/
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/log.h>
#include <drivers/device/spi.h>
#include "hmc5883.h"