diff options
Diffstat (limited to 'testex/STM32/STM32F4xx/I2C-HTS221')
-rw-r--r-- | testex/STM32/STM32F4xx/I2C-HTS221/main.c | 4 | ||||
-rw-r--r-- | testex/STM32/STM32F4xx/I2C-HTS221/readme.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/main.c b/testex/STM32/STM32F4xx/I2C-HTS221/main.c index e60a73b9f..08b82fdd7 100644 --- a/testex/STM32/STM32F4xx/I2C-HTS221/main.c +++ b/testex/STM32/STM32F4xx/I2C-HTS221/main.c @@ -194,9 +194,9 @@ int main(void) { chSysInit();
palSetLineMode(LINE_ARD_D15, PAL_MODE_ALTERNATE(4) |
- PAL_STM32_OSPEED_HIGHEST);
+ PAL_STM32_OSPEED_HIGHEST | PAL_STM32_OTYPE_OPENDRAIN);
palSetLineMode(LINE_ARD_D14, PAL_MODE_ALTERNATE(4) |
- PAL_STM32_OSPEED_HIGHEST);
+ PAL_STM32_OSPEED_HIGHEST | PAL_STM32_OTYPE_OPENDRAIN);
/*
* Activates the serial driver 2 using the driver default configuration.
diff --git a/testex/STM32/STM32F4xx/I2C-HTS221/readme.txt b/testex/STM32/STM32F4xx/I2C-HTS221/readme.txt index 927bf23ec..511bb2365 100644 --- a/testex/STM32/STM32F4xx/I2C-HTS221/readme.txt +++ b/testex/STM32/STM32F4xx/I2C-HTS221/readme.txt @@ -4,8 +4,8 @@ ** TARGET **
-The demo runs on an STM32 Nucleo64-F401RE board. It has been tested with the
-X-NUCLEO-IKS01A1 shield.
+The demo runs on an STM32 Nucleo64-F401RE board. It has been tested with both
+X-NUCLEO-IKS01A1 and X-NUCLEO-IKS01A2 shield.
** The Demo **
|