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 22:25:18 UTC
[incubator-nuttx] 02/02: 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 pr74
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit d5e39cc37808bebf71993e8808b203cffee8b439
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 */