Skip to content

Commit

Permalink
BMI270 - replace OWNER_GYRO_EXTI with OWNER_MPU_EXTI
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter committed Jun 27, 2023
1 parent f2938f6 commit 748035a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/drivers/accgyro/accgyro_spi_bmi270.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ static void bmi270IntExtiInit(gyroDev_t *gyro)

IO_t mpuIntIO = IOGetByTag(gyro->mpuIntExtiTag);

IOInit(mpuIntIO, OWNER_GYRO_EXTI, 0);
IOInit(mpuIntIO, OWNER_MPU_EXTI, 0);
EXTIHandlerInit(&gyro->exti, bmi270ExtiHandler);
EXTIConfig(mpuIntIO, &gyro->exti, NVIC_PRIO_MPU_INT_EXTI, IOCFG_IN_FLOATING );
EXTIEnable(mpuIntIO, true);
Expand Down

0 comments on commit 748035a

Please sign in to comment.