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/11/19 21:24:25 UTC

[mynewt-core] 04/04: sensor_creator: Include bsp.h

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 0af1177218492ceaa1d871828420b6267b2701d9
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Mon Nov 18 15:10:34 2019 +0100

    sensor_creator: Include bsp.h
    
    Having Arduino-style pin definitions in many bsp.h
    seems reasonable that some pins will be defined in bsp.h
    
    This just includes bsp.h for easy usage in those cases.
---
 hw/sensor/creator/src/sensor_creator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/sensor/creator/src/sensor_creator.c b/hw/sensor/creator/src/sensor_creator.c
index e950da3..985f502 100644
--- a/hw/sensor/creator/src/sensor_creator.c
+++ b/hw/sensor/creator/src/sensor_creator.c
@@ -20,6 +20,7 @@
 #include <assert.h>
 #include <string.h>
 #include "os/mynewt.h"
+#include "bsp/bsp.h"
 
 #if MYNEWT_VAL(DRV2605_OFB)
 #include "hal/hal_gpio.h"