cc26xx: return the expected value 0 from prepare() in ieee and prop mode radio

This commit is contained in:
Atis Elsts 2016-04-25 19:22:20 +03:00
parent e19fbc996e
commit 97c1cfc3b4
2 changed files with 2 additions and 2 deletions

View file

@ -847,7 +847,7 @@ prepare(const void *payload, unsigned short payload_len)
int len = MIN(payload_len, TX_BUF_PAYLOAD_LEN);
memcpy(&tx_buf[TX_BUF_HDR_LEN], payload, len);
return RF_CORE_CMD_OK;
return 0;
}
/*---------------------------------------------------------------------------*/
static int

View file

@ -634,7 +634,7 @@ prepare(const void *payload, unsigned short payload_len)
int len = MIN(payload_len, TX_BUF_PAYLOAD_LEN);
memcpy(&tx_buf[TX_BUF_HDR_LEN], payload, len);
return RF_CORE_CMD_OK;
return 0;
}
/*---------------------------------------------------------------------------*/
static int