mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
poppy/nautilus: Enable ACCELGYRO3_INT_L BMI160 interrupts
BRANCH=none BUG=b:69656838 TEST=Flash soraka, AIDA64 works fine Change-Id: I98443f3aee8605fbc9b5080cda83ac2b42ba8cd8 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/869550 Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
8b51215355
commit
667a35bb9c
@@ -443,6 +443,9 @@ static void board_init(void)
|
||||
gpio_set_flags(GPIO_I2C3_SCL, GPIO_INPUT);
|
||||
gpio_set_flags(GPIO_I2C3_SDA, GPIO_INPUT);
|
||||
}
|
||||
|
||||
/* Enable Gyro interrupts */
|
||||
gpio_enable_interrupt(GPIO_ACCELGYRO3_INT_L);
|
||||
}
|
||||
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
|
||||
|
||||
|
||||
@@ -588,6 +588,9 @@ static void board_init(void)
|
||||
GPIO_INPUT | GPIO_PULL_UP);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Enable Gyro interrupts */
|
||||
gpio_enable_interrupt(GPIO_ACCELGYRO3_INT_L);
|
||||
}
|
||||
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user