From 5e9e48e9e3d67c346ac96bd2aa7f1234cfc2058d Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Thu, 2 Feb 2017 18:43:12 +0100 Subject: [PATCH] nrf5: Renaming configuration define in board configs using i2c from MICROPY_PY_MACHINE_HW_I2C to MICROPY_PY_MACHINE_I2C as the config is overlapping with the latter. --- nrf5/boards/pca10040/mpconfigboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrf5/boards/pca10040/mpconfigboard.h b/nrf5/boards/pca10040/mpconfigboard.h index b4791b8689..fcb62a5fe6 100644 --- a/nrf5/boards/pca10040/mpconfigboard.h +++ b/nrf5/boards/pca10040/mpconfigboard.h @@ -34,7 +34,7 @@ #define MICROPY_PY_MACHINE_HW_SPI (1) #define MICROPY_PY_MACHINE_TIMER (1) #define MICROPY_PY_MACHINE_RTC (1) -#define MICROPY_PY_MACHINE_HW_I2C (1) +#define MICROPY_PY_MACHINE_I2C (1) #define MICROPY_PY_MACHINE_ADC (1) #define MICROPY_PY_DISPLAY (1)