AnsweredAssumed Answered

stm32cube BSP for component LSM303DLHC

Question asked by giorgi.quentin on Feb 20, 2015
Latest reply on Mar 13, 2015 by Montassar BEN ROMDHANE

I have downloaded the last stm32cube software including BSP for STM32discovery boards.
I had issue with LSM303 accelerometer before i discovered that:

in Drivers/BSP/Components/lsm303dlhc.c
line 124 should "probably" be:
ctrl = (uint8_t) (InitStruct >> 8);
ctrl = (uint8_t) (InitStruct << 8);

please confirm.