aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-09-25 22:16:06 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-09-25 22:16:06 +0000
commited87ceadcf3ca50c07a27e9d6a99ebb46cd4907d (patch)
tree17098eb0749b3634471a3fca8778c6333ab90e85 /testhal/STM32
parent5d7b15b26caac535f029183469e429d90b3d2893 (diff)
downloadChibiOS-ed87ceadcf3ca50c07a27e9d6a99ebb46cd4907d.tar.gz
ChibiOS-ed87ceadcf3ca50c07a27e9d6a99ebb46cd4907d.tar.bz2
ChibiOS-ed87ceadcf3ca50c07a27e9d6a99ebb46cd4907d.zip
Fixed wrong masks in EX related STM32L4xx demos
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9802 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/STM32L4xx/I2C-LIS3MLD/main.c4
-rw-r--r--testhal/STM32/STM32L4xx/I2C-LSM6DS0/main.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/testhal/STM32/STM32L4xx/I2C-LIS3MLD/main.c b/testhal/STM32/STM32L4xx/I2C-LIS3MLD/main.c
index 8998292ed..5a8d68880 100644
--- a/testhal/STM32/STM32L4xx/I2C-LIS3MLD/main.c
+++ b/testhal/STM32/STM32L4xx/I2C-LIS3MLD/main.c
@@ -183,9 +183,9 @@ int main(void) {
chSysInit();
palSetLineMode(LINE_ARD_D15, PAL_MODE_ALTERNATE(4) |
- PAL_STM32_OSPEED_HIGHEST);
+ PAL_STM32_OSPEED_HIGH);
palSetLineMode(LINE_ARD_D14, PAL_MODE_ALTERNATE(4) |
- PAL_STM32_OSPEED_HIGHEST);
+ PAL_STM32_OSPEED_HIGH);
/*
* Activates the serial driver 2 using the driver default configuration.
diff --git a/testhal/STM32/STM32L4xx/I2C-LSM6DS0/main.c b/testhal/STM32/STM32L4xx/I2C-LSM6DS0/main.c
index c9469a1e2..f8e156dde 100644
--- a/testhal/STM32/STM32L4xx/I2C-LSM6DS0/main.c
+++ b/testhal/STM32/STM32L4xx/I2C-LSM6DS0/main.c
@@ -302,9 +302,9 @@ int main(void) {
chSysInit();
palSetLineMode(LINE_ARD_D15, PAL_MODE_ALTERNATE(4) |
- PAL_STM32_OSPEED_HIGHEST);
+ PAL_STM32_OSPEED_HIGH);
palSetLineMode(LINE_ARD_D14, PAL_MODE_ALTERNATE(4) |
- PAL_STM32_OSPEED_HIGHEST);
+ PAL_STM32_OSPEED_HIGH);
/*
* Activates the serial driver 2 using the driver default configuration.