You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2019/06/08 06:14:58 UTC

[mynewt-core] 03/10: sensors/bme280: Update bus driver includes

This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit e22f59c4e8d782c94f401d21ae9c2cf3b6d8824d
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Thu May 30 16:05:50 2019 +0200

    sensors/bme280: Update bus driver includes
    
    Some includes were not updated to correct values after
    bus driver changes.
---
 hw/drivers/sensors/bme280/include/bme280/bme280.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/hw/drivers/sensors/bme280/include/bme280/bme280.h b/hw/drivers/sensors/bme280/include/bme280/bme280.h
index 1411fa7..42b877f 100644
--- a/hw/drivers/sensors/bme280/include/bme280/bme280.h
+++ b/hw/drivers/sensors/bme280/include/bme280/bme280.h
@@ -23,9 +23,8 @@
 
 #include "os/mynewt.h"
 #if MYNEWT_VAL(BUS_DRIVER_PRESENT)
-#include "bus/bus_driver.h"
-#include "bus/i2c.h"
-#include "bus/spi.h"
+#include "bus/drivers/i2c_common.h"
+#include "bus/drivers/spi_common.h"
 #endif
 #include "sensor/sensor.h"