You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2018/12/03 22:24:40 UTC

[mynewt-core] branch master updated: hw/drivers/bmp280: Fix invalid includes

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e95a9a0  hw/drivers/bmp280: Fix invalid includes
e95a9a0 is described below

commit e95a9a092cfac866be54827e3e559d6e222b31f4
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Mon Dec 3 16:12:11 2018 +0100

    hw/drivers/bmp280: Fix invalid includes
---
 hw/drivers/sensors/bmp280/include/bmp280/bmp280.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/drivers/sensors/bmp280/include/bmp280/bmp280.h b/hw/drivers/sensors/bmp280/include/bmp280/bmp280.h
index 1308bd9..94d5ebe 100644
--- a/hw/drivers/sensors/bmp280/include/bmp280/bmp280.h
+++ b/hw/drivers/sensors/bmp280/include/bmp280/bmp280.h
@@ -22,7 +22,7 @@
 #define __bmp280_H__
 
 #include "os/mynewt.h"
-#if !MYNEWT_VAL(BUS_DRIVER_PRESENT)
+#if MYNEWT_VAL(BUS_DRIVER_PRESENT)
 #include "bus/bus.h"
 #include "bus/i2c.h"
 #include "bus/spi.h"