Merge pull request #1107 from phoenix-frozen/cc2530-rf-const-warning

fix minor warning in cc2530-rf driver
This commit is contained in:
George Oikonomou 2015-08-03 10:28:43 +01:00
commit 195ada6668

View File

@ -486,7 +486,7 @@ transmit(unsigned short transmit_len)
}
/*---------------------------------------------------------------------------*/
static int
send(void *payload, unsigned short payload_len)
send(const void *payload, unsigned short payload_len)
{
prepare(payload, payload_len);
return transmit(payload_len);