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