Documentation updates
This commit is contained in:
parent
03b2399622
commit
0650a014b5
41 changed files with 565 additions and 84 deletions
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* \addtogroup rudolph0
|
||||
* @{
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007, Swedish Institute of Computer Science.
|
||||
* All rights reserved.
|
||||
|
@ -28,7 +33,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: rudolph0.c,v 1.2 2007/03/25 21:29:02 oliverschmidt Exp $
|
||||
* $Id: rudolph0.c,v 1.3 2007/03/31 18:31:28 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -119,10 +124,6 @@ recv(struct sabc_conn *sabc)
|
|||
struct rudolph0_conn *c = (struct rudolph0_conn *)sabc;
|
||||
struct rudolph0_datapacket *p = rimebuf_dataptr();
|
||||
|
||||
/* if(rand() & 1) {
|
||||
return;
|
||||
}*/
|
||||
|
||||
if(p->h.type == TYPE_DATA) {
|
||||
if(c->current.h.version != p->h.version) {
|
||||
PRINTF("rudolph0 new version %d\n", p->h.version);
|
||||
|
@ -229,3 +230,4 @@ rudolph0_set_version(struct rudolph0_conn *c, int version)
|
|||
c->current.h.version = version;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/** @} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue