renamed radio driver

This commit is contained in:
fros4943 2009-04-01 13:44:34 +00:00
parent afed9bb2d0
commit eddd8350c5
2 changed files with 21 additions and 21 deletions

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cooja-radio.c,v 1.8 2008/03/18 16:22:00 fros4943 Exp $
* $Id: cooja-radio.c,v 1.9 2009/04/01 13:44:34 fros4943 Exp $
*/
#include <string.h>
@ -65,7 +65,7 @@ int inSendFunction = 0;
static void (* receiver_callback)(const struct radio_driver *);
const struct radio_driver cooja_driver =
const struct radio_driver cooja_radio =
{
radio_send,
radio_read,
@ -260,7 +260,7 @@ radio_send(const void *payload, unsigned short payload_len)
/*-----------------------------------------------------------------------------------*/
void radio_call_receiver()
{
receiver_callback(&cooja_driver);
receiver_callback(&cooja_radio);
}
/*-----------------------------------------------------------------------------------*/
SIM_INTERFACE(radio_interface,

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: cooja-radio.h,v 1.4 2007/11/25 22:44:40 fros4943 Exp $
* $Id: cooja-radio.h,v 1.5 2009/04/01 13:44:34 fros4943 Exp $
*/
#ifndef __COOJA_RADIO_H__
@ -48,7 +48,7 @@
#define COOJA_RADIO_ZEROLEN UIP_FW_ZEROLEN
#define COOJA_RADIO_OK UIP_FW_OK
extern const struct radio_driver cooja_driver;
extern const struct radio_driver cooja_radio;
/**
* Turn radio hardware on.