cc26xx: return the expected value 0 from prepare() in ieee and prop mode radio
This commit is contained in:
parent
e19fbc996e
commit
97c1cfc3b4
2 changed files with 2 additions and 2 deletions
|
@ -847,7 +847,7 @@ prepare(const void *payload, unsigned short payload_len)
|
||||||
int len = MIN(payload_len, TX_BUF_PAYLOAD_LEN);
|
int len = MIN(payload_len, TX_BUF_PAYLOAD_LEN);
|
||||||
|
|
||||||
memcpy(&tx_buf[TX_BUF_HDR_LEN], payload, len);
|
memcpy(&tx_buf[TX_BUF_HDR_LEN], payload, len);
|
||||||
return RF_CORE_CMD_OK;
|
return 0;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -634,7 +634,7 @@ prepare(const void *payload, unsigned short payload_len)
|
||||||
int len = MIN(payload_len, TX_BUF_PAYLOAD_LEN);
|
int len = MIN(payload_len, TX_BUF_PAYLOAD_LEN);
|
||||||
|
|
||||||
memcpy(&tx_buf[TX_BUF_HDR_LEN], payload, len);
|
memcpy(&tx_buf[TX_BUF_HDR_LEN], payload, len);
|
||||||
return RF_CORE_CMD_OK;
|
return 0;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Add table
Reference in a new issue