Fixed a typo in HMC5883L driver for F7 (#5714)

This commit is contained in:
Andrey Mironov 2018-04-19 13:16:12 +03:00 committed by Michael Keller
parent e192f82fcc
commit 0f6d4a2def
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ static void hmc5883lConfigureDataReadyInterruptHandling(magDev_t* mag)
#if defined (STM32F7)
IOInit(magIntIO, OWNER_COMPASS_EXTI, 0);
EXTIHandlerInit(&mag->exti, hmc5883_extiHandler);
EXTIConfig(magIntIO, &gmag->exti, NVIC_PRIO_MPU_INT_EXTI, IO_CONFIG(GPIO_MODE_INPUT,0,GPIO_NOPULL));
EXTIConfig(magIntIO, &mag->exti, NVIC_PRIO_MPU_INT_EXTI, IO_CONFIG(GPIO_MODE_INPUT,0,GPIO_NOPULL));
EXTIEnable(magIntIO, true);
#else
IOInit(magIntIO, OWNER_COMPASS_EXTI, 0);