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:
nifi 2010-02-23 20:09:11 +00:00
parent bb62749de7
commit c20047f657
18 changed files with 135 additions and 61 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: nullrdc.h,v 1.1 2010/02/18 21:48:39 adamdunkels Exp $
* $Id: nullrdc.h,v 1.2 2010/02/23 20:09:11 nifi Exp $
*/
/**
@ -41,10 +41,9 @@
#ifndef __NULLRDC_H__
#define __NULLRDC_H__
#include "net/mac/mac.h"
#include "net/mac/rdc.h"
#include "dev/radio.h"
extern const struct mac_driver nullrdc_driver;
extern const struct rdc_driver nullrdc_driver;
#endif /* __NULLRDC_H__ */