diff --git a/integration/nrfx/legacy/nrf_drv_twi.h b/integration/nrfx/legacy/nrf_drv_twi.h index 06d7b29..a298aaf 100644 --- a/integration/nrfx/legacy/nrf_drv_twi.h +++ b/integration/nrfx/legacy/nrf_drv_twi.h @@ -335,7 +335,7 @@ __STATIC_INLINE ret_code_t nrf_drv_twi_tx(nrf_drv_twi_t const * p_instance, uint8_t address, uint8_t const * p_data, - uint8_t length, + uint16_t length, bool no_stop); /** @@ -360,7 +360,7 @@ __STATIC_INLINE ret_code_t nrf_drv_twi_rx(nrf_drv_twi_t const * p_instance, uint8_t address, uint8_t * p_data, - uint8_t length); + uint16_t length); /** * @brief Function for preparing a TWI transfer. @@ -535,7 +535,7 @@ __STATIC_INLINE ret_code_t nrf_drv_twi_tx(nrf_drv_twi_t const * p_instance, uint8_t address, uint8_t const * p_data, - uint8_t length, + uint16_t length, bool no_stop) { ret_code_t result = 0; @@ -556,7 +556,7 @@ __STATIC_INLINE ret_code_t nrf_drv_twi_rx(nrf_drv_twi_t const * p_instance, uint8_t address, uint8_t * p_data, - uint8_t length) + uint16_t length) { ret_code_t result = 0; if (NRF_DRV_TWI_USE_TWIM)