You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/01/10 23:07:52 UTC
[incubator-nuttx] branch master updated: Removed stray references
to MPL115A in stm32_bmp180.c files.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 70fbc14 Removed stray references to MPL115A in stm32_bmp180.c files.
70fbc14 is described below
commit 70fbc14103f57591b117a480c286a02762eb801c
Author: Pieter du Preez <pd...@gmail.com>
AuthorDate: Fri Jan 10 21:59:19 2020 +0000
Removed stray references to MPL115A in stm32_bmp180.c files.
The references to MPL115A inside the stm32_bmp180.c files were
probably copy-paste errors. This commit removes them.
---
boards/arm/stm32/stm32f103-minimum/src/stm32_bmp180.c | 2 --
boards/arm/stm32/stm32f4discovery/src/stm32_bmp180.c | 4 +---
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/boards/arm/stm32/stm32f103-minimum/src/stm32_bmp180.c b/boards/arm/stm32/stm32f103-minimum/src/stm32_bmp180.c
index 645efad..167d8d1 100644
--- a/boards/arm/stm32/stm32f103-minimum/src/stm32_bmp180.c
+++ b/boards/arm/stm32/stm32f103-minimum/src/stm32_bmp180.c
@@ -55,8 +55,6 @@
* Pre-processor Definitions
****************************************************************************/
-#define MPL115A_I2C_PORTNO 1 /* On I2C1 */
-
/****************************************************************************
* Public Functions
****************************************************************************/
diff --git a/boards/arm/stm32/stm32f4discovery/src/stm32_bmp180.c b/boards/arm/stm32/stm32f4discovery/src/stm32_bmp180.c
index d1f7f3f..9ca9604 100644
--- a/boards/arm/stm32/stm32f4discovery/src/stm32_bmp180.c
+++ b/boards/arm/stm32/stm32f4discovery/src/stm32_bmp180.c
@@ -55,8 +55,6 @@
* Pre-processor Definitions
****************************************************************************/
-#define MPL115A_I2C_PORTNO 1 /* On I2C1 */
-
/****************************************************************************
* Public Functions
****************************************************************************/
@@ -102,4 +100,4 @@ int stm32_bmp180initialize(FAR const char *devpath)
return ret;
}
-#endif /* CONFIG_I2C && CONFIG_SENSORS_MPL115A && CONFIG_STM32_I2C1 */
+#endif /* CONFIG_I2C && CONFIG_STM32_I2C1 */