mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
cc26xx: return the expected value 0 from prepare() in ieee and prop mode radio
This commit is contained in:
parent
e19fbc996e
commit
97c1cfc3b4
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user