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.
This commit is contained in:
parent
14d4a8def8
commit
4cbdbc9a4b
@ -41,7 +41,7 @@
|
||||
#define MICROPY_PY_MACHINE_PWM (0)
|
||||
#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_USOCKET (0)
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#define MICROPY_PY_MACHINE_PWM (1)
|
||||
#define MICROPY_PY_MACHINE_HW_SPI (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)
|
||||
|
@ -108,7 +108,7 @@ int main(int argc, char **argv) {
|
||||
spi_init0();
|
||||
#endif
|
||||
|
||||
#if MICROPY_PY_MACHINE_HW_I2C
|
||||
#if MICROPY_PY_MACHINE_I2C
|
||||
i2c_init0();
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user