diff --git a/readme.txt b/readme.txt index 91f0e1fd7..bc54470c9 100644 --- a/readme.txt +++ b/readme.txt @@ -83,6 +83,7 @@ - NEW: Improved boost settings for STM32G4. - NEW: Files mcuconf.h for STM32F746, F767, L432, L452, L476, L496 received the missing setting STM32_WSPI_QUADSPI1_PRESCALER_VALUE. +- FIX: Fixed wrong configuration in testex LSM6DSL demos (bug #1184). - FIX: Fixed STM32 ADCv3 differences in headers (bug #1182). - FIX: Fixed DMAv1 compile fail on STM32L011 (bug #1181). - FIX: Fixed error in STM32_ADCCLK_MIN for STM32F37x/hal_lld.h (bug #1180). 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