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 2019/01/14 23:51:36 UTC

[mynewt-core] branch master updated: Add missing include to fix build error when I2C_NRF52_TWIM_STAT is enabled

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 4df1290  Add missing include to fix build error when I2C_NRF52_TWIM_STAT is enabled
4df1290 is described below

commit 4df1290cc7bf6cea7bf6552868ae433f58196ebf
Author: Ben McCrea <bm...@juul.com>
AuthorDate: Mon Jan 14 08:56:57 2019 -0800

    Add missing include to fix build error when I2C_NRF52_TWIM_STAT is enabled
---
 hw/bus/drivers/i2c_nrf52_twim/src/i2c_nrf52_twim.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/bus/drivers/i2c_nrf52_twim/src/i2c_nrf52_twim.c b/hw/bus/drivers/i2c_nrf52_twim/src/i2c_nrf52_twim.c
index 08d5618..1587f6c 100644
--- a/hw/bus/drivers/i2c_nrf52_twim/src/i2c_nrf52_twim.c
+++ b/hw/bus/drivers/i2c_nrf52_twim/src/i2c_nrf52_twim.c
@@ -26,6 +26,7 @@
 #include "bus/drivers/i2c_common.h"
 #include "mcu/nrf52_hal.h"
 #include "nrfx.h"
+#include "stats/stats.h"
 
 #define TWIM_GPIO_PIN_CNF \
     ((GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos) |  \