diff --git a/boards/microbit/include/board.h b/boards/microbit/include/board.h
index befff51bb11f4da382013aef2e27bc187129e780..793ea8dee9d5bebc54482740cc0d72d99bd4bb48 100644
--- a/boards/microbit/include/board.h
+++ b/boards/microbit/include/board.h
@@ -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
 /** @} */