Changed the network stack to use different structures for the different layers (network_driver, mac_driver, rdc_driver, radio_driver). This helps to avoid incorrect configuration.
This commit is contained in:
parent
bb62749de7
commit
c20047f657
18 changed files with 135 additions and 61 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: nullrdc.c,v 1.1 2010/02/18 21:48:39 adamdunkels Exp $
|
||||
* $Id: nullrdc.c,v 1.2 2010/02/23 20:09:11 nifi Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -89,7 +89,7 @@ init(void)
|
|||
on();
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
const struct mac_driver nullrdc_driver = {
|
||||
const struct rdc_driver nullrdc_driver = {
|
||||
"nullrdc",
|
||||
init,
|
||||
send_packet,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue