Interrupt 1 (INT1) and Interrupt 2/Data ready (INT2/DRDY) pins and interrupt handlers seem to be all wrong. Correct these by studing the STM32F3DISCOVERY User Manual and STM32F3 Reference Manual.
It concerns the pin numbering, EXTI line and EXTI interrupt handlers.
Interrupt 1 (INT1) and Interrupt 2/Data ready (INT2/DRDY) pins and interrupt handlers seem to be all wrong. Correct these by studing the STM32F3DISCOVERY User Manual and STM32F3 Reference Manual.
It concerns the pin numbering, EXTI line and EXTI interrupt handlers.