samples: boards: nrf: nrfx_prs: align to new nrfx_uarte struct member
One of the nrfx_uarte event structure members was renamed, so the sample code has to be aligned. Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
This commit is contained in:
parent
f3f2c113d1
commit
c0ff691a3c
|
@ -191,7 +191,7 @@ static bool spim_transfer(const uint8_t *tx_data, size_t tx_data_len,
|
|||
static void uarte_handler(const nrfx_uarte_event_t *p_event, void *p_context)
|
||||
{
|
||||
if (p_event->type == NRFX_UARTE_EVT_RX_DONE) {
|
||||
received = p_event->data.rx.bytes;
|
||||
received = p_event->data.rx.length;
|
||||
k_sem_give(&transfer_finished);
|
||||
} else if (p_event->type == NRFX_UARTE_EVT_ERROR) {
|
||||
received = 0;
|
||||
|
|
Loading…
Reference in a new issue