correct i2c max len
This commit is contained in:
parent
a4ee80832a
commit
6b0d93cea3
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
// all TWI instances have the same max size
|
// all TWI instances have the same max size
|
||||||
// 16 bits for 840, 10 bits for 810, 8 bits for 832
|
// 16 bits for 840, 10 bits for 810, 8 bits for 832
|
||||||
#define I2C_MAX_XFER_LEN ( 1UL << TWIM0_EASYDMA_MAXCNT_SIZE)
|
#define I2C_MAX_XFER_LEN ((1UL << TWIM0_EASYDMA_MAXCNT_SIZE) - 1)
|
||||||
|
|
||||||
STATIC twim_peripheral_t twim_peripherals[] = {
|
STATIC twim_peripheral_t twim_peripherals[] = {
|
||||||
#if NRFX_CHECK(NRFX_TWIM0_ENABLED)
|
#if NRFX_CHECK(NRFX_TWIM0_ENABLED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user