From c06421a1085d62a5ccba6e268e3b32e2a2de8e84 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Mon, 6 Sep 2021 12:40:07 +0000 Subject: [PATCH] Fixed bug #1184 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14743 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- readme.txt | 2 ++ testex/STM32/STM32F4xx/I2C-IKS01A2/main.c | 2 +- testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index 84cf0a16b..089e25840 100644 --- a/readme.txt +++ b/readme.txt @@ -78,6 +78,8 @@ - NEW: EFL driver and demo for STM32F3xx. - NEW: New unit test subsystem under /os/test. Now it is officially ChibiOS/TEST. +- FIX: Fixed wrong configuration in testex LSM6DSL demos (bug #1184) + (backported to 21.6.1)(backported to 20.3.4). - FIX: Fixed CH_CFG_NO_IDLE_THREAD option causes compiler errors (bug #1183) (backported to 21.6.1). - FIX: Fixed STM32 ADCv3 differences in headers (bug #1182) diff --git a/testex/STM32/STM32F4xx/I2C-IKS01A2/main.c b/testex/STM32/STM32F4xx/I2C-IKS01A2/main.c index d7331d59c..7c1f1d7d0 100644 --- a/testex/STM32/STM32F4xx/I2C-IKS01A2/main.c +++ b/testex/STM32/STM32F4xx/I2C-IKS01A2/main.c @@ -109,7 +109,7 @@ static const LSM6DSLConfig lsm6dslcfg = { NULL, NULL, LSM6DSL_ACC_FS_2G, - LSM6DSL_GYRO_ODR_52Hz, + LSM6DSL_ACC_ODR_52Hz, NULL, NULL, LSM6DSL_GYRO_FS_250DPS, diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c b/testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c index c96b1c0ec..9cb9fe28a 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c +++ b/testex/STM32/STM32F4xx/I2C-LSM6DSL/main.c @@ -51,7 +51,7 @@ static const LSM6DSLConfig lsm6dslcfg = { NULL, NULL, LSM6DSL_ACC_FS_2G, - LSM6DSL_GYRO_ODR_52Hz, + LSM6DSL_ACC_ODR_52Hz, #if LSM6DSL_USE_ADVANCED LSM6DSL_ACC_LP_ENABLED, #endif