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
|
@ -33,7 +33,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: rime.c,v 1.26 2010/02/23 18:29:53 adamdunkels Exp $
|
||||
* $Id: rime.c,v 1.27 2010/02/23 20:09:11 nifi Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -188,13 +188,9 @@ rime_output(struct channel *c)
|
|||
return 0;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
const struct mac_driver rime_driver = {
|
||||
const struct network_driver rime_driver = {
|
||||
"Rime",
|
||||
init,
|
||||
NULL,
|
||||
input,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
input
|
||||
};
|
||||
/** @} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue