diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-09-25 22:16:06 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-09-25 22:16:06 +0000 |
commit | ed87ceadcf3ca50c07a27e9d6a99ebb46cd4907d (patch) | |
tree | 17098eb0749b3634471a3fca8778c6333ab90e85 /testhal/STM32/STM32L4xx | |
parent | 5d7b15b26caac535f029183469e429d90b3d2893 (diff) | |
download | ChibiOS-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/STM32L4xx')
-rw-r--r-- | testhal/STM32/STM32L4xx/I2C-LIS3MLD/main.c | 4 | ||||
-rw-r--r-- | testhal/STM32/STM32L4xx/I2C-LSM6DS0/main.c | 4 |
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.
|