From a1036e63e3d34eb993370d1d3144e74dc5541505 Mon Sep 17 00:00:00 2001
From: Jochen Vothknecht <jochen3120@gmail.com>
Date: Mon, 30 Jul 2018 08:24:21 +0200
Subject: [PATCH] moving include

---
 main/peripherals/sensors/bme280.cpp | 1 -
 main/peripherals/sensors/bme280.h   | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/peripherals/sensors/bme280.cpp b/main/peripherals/sensors/bme280.cpp
index b372222..55bd2b7 100644
--- a/main/peripherals/sensors/bme280.cpp
+++ b/main/peripherals/sensors/bme280.cpp
@@ -10,7 +10,6 @@ typedef struct {
 
 static std::vector<bme280_config_t> cfgs;
 
-#include "esp_log.h"
 static void measured(void *ignored) {
     std::string topic;
 
diff --git a/main/peripherals/sensors/bme280.h b/main/peripherals/sensors/bme280.h
index 6d9265f..af16946 100644
--- a/main/peripherals/sensors/bme280.h
+++ b/main/peripherals/sensors/bme280.h
@@ -8,6 +8,7 @@
 
 #include "freertos/FreeRTOS.h"
 #include "freertos/task.h"
+#include "esp_log.h"
 
 #include "driver/gpio.h"
 
-- 
GitLab