From 1d9fbcb076d92fc9ce254895909076e640e6960e Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Tue, 23 Jan 2018 16:42:29 +0100 Subject: [PATCH] boards/thingy52: add config for on-board lis2dh12 --- boards/thingy52/include/board.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/boards/thingy52/include/board.h b/boards/thingy52/include/board.h index bfb23dd170..2dd33b0f0a 100644 --- a/boards/thingy52/include/board.h +++ b/boards/thingy52/include/board.h @@ -33,6 +33,14 @@ extern "C" { #define BTN0_MODE GPIO_IN_PU /** @} */ +/** + * @name LIS2DH12 low power accelerometer configuration + * @{ + */ +#define LIS2DH12_PARAM_I2C I2C_DEV(1) +/** @} */ + + /** * @brief Initialize board specific hardware */