arch/nrf52/nrf52_twi.h: fix condition
missing prefix CONFIG_* in commit 6e8f25ba3b
This commit is contained in:
parent
bcef7d32f5
commit
fc4ddfb1f4
@ -154,10 +154,10 @@
|
||||
|
||||
#define TWIM_FREQUENCY_100KBPS (0x01980000) /* 100 kbps */
|
||||
#define TWIM_FREQUENCY_250KBPS (0x04000000) /* 250 kbps */
|
||||
#ifdef NRF52_I2C_MASTER_WORKAROUND_400KBPS_TIMING
|
||||
#define TWIM_FREQUENCY_400KBPS (0x06200000) /* 400 kbps */
|
||||
#ifdef CONFIG_NRF52_I2C_MASTER_WORKAROUND_400KBPS_TIMING
|
||||
# define TWIM_FREQUENCY_400KBPS (0x06200000) /* 390 kbps */
|
||||
#else
|
||||
#define TWIM_FREQUENCY_400KBPS (0x06400000) /* 400 kbps */
|
||||
# define TWIM_FREQUENCY_400KBPS (0x06400000) /* 400 kbps */
|
||||
#endif
|
||||
|
||||
/* RXDMAXCNT Register */
|
||||
|
Loading…
Reference in New Issue
Block a user