Removed the csma_init declaration in the mac_driver struct since it isn't needed and it breaks sdcc
This commit is contained in:
parent
1a2bdcb293
commit
fcf60e9260
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: csma.c,v 1.3 2010/01/31 13:55:36 adamdunkels Exp $
|
* $Id: csma.c,v 1.4 2010/02/02 20:45:58 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -184,7 +184,7 @@ channel_check_interval(void)
|
||||||
static char namebuf[NAMEBUF_LEN];
|
static char namebuf[NAMEBUF_LEN];
|
||||||
const struct mac_driver csma_driver = {
|
const struct mac_driver csma_driver = {
|
||||||
namebuf,
|
namebuf,
|
||||||
(const struct mac_driver *(*)(const struct radio_driver *psc))csma_init,
|
NULL,
|
||||||
send_packet,
|
send_packet,
|
||||||
read_packet,
|
read_packet,
|
||||||
set_receive_function,
|
set_receive_function,
|
||||||
|
|
Loading…
Add table
Reference in a new issue