Skip to content
Snippets Groups Projects
Commit fddecfca authored by Sebastian Meiling's avatar Sebastian Meiling
Browse files

microbit: correct device params for I2C

parent 644dbb12
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ extern "C" {
* @brief MMA8653 accelerometer configuration
* @{
*/
#define MMA8653_PARAM_I2C I2C_0,
#define MMA8653_PARAM_I2C I2C_DEV(0)
#define MMA8653_PARAM_ADDR 0x1d
/** @} */
......@@ -76,7 +76,7 @@ extern "C" {
* @brief MAG3110 magnetometer configuration
* @{
*/
#define MAG3110_PARAM_I2C I2C_0,
#define MAG3110_PARAM_I2C I2C_DEV(0)
#define MAG3110_PARAM_ADDR 0x0e
/** @} */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment