1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/thingy52: add config for on-board lis2dh12

This commit is contained in:
Hauke Petersen 2018-01-23 16:42:29 +01:00 committed by Benjamin Valentin
parent 9c853b598d
commit 1d9fbcb076

View File

@ -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
*/