Added hack for letting nodes signal that they are 'done'. The simulator exits when all nodes are done. Fixed random initialization so that it is different for all nodes.
This commit is contained in:
parent
0ed1d401d5
commit
c67ce1c1b0
9 changed files with 89 additions and 21 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: ether.h,v 1.2 2006/09/26 22:10:12 adamdunkels Exp $
|
||||
* $Id: ether.h,v 1.3 2006/10/23 09:01:06 adamdunkels Exp $
|
||||
*/
|
||||
#ifndef __ETHER_H__
|
||||
#define __ETHER_H__
|
||||
|
@ -46,6 +46,8 @@ struct ether_packet {
|
|||
};
|
||||
|
||||
|
||||
void ether_send_done(void);
|
||||
|
||||
u8_t ether_send(char *data, int len);
|
||||
void ether_set_leds(int leds);
|
||||
void ether_set_text(char *text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue