STMicroelectronics / STM32CubeF4

STM32Cube MCU Full Package for the STM32F4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
824 stars 408 forks source link

The enable interrupt in the accelero default driver didn't point to any function #133

Closed psarabiaortiz closed 2 years ago

psarabiaortiz commented 2 years ago

The lsm303agr and lsm303dlhc drivers (Lsm303agrDrv and Lsm303dlhcDrv) were incomplete and didn't have the functions related to enable interrupt. Now they have it and also the BSP_ACCELERO_Init function is updated to set the DRDY interrupt in INT1.

This changes improves the use of the drivers and doesn't affect any previous code.

ST-dot-com commented 2 years ago

This pull request has been refused, the Contribution License Agreement must be signed.