Changed to store neighbors' rtmetrics as 16 bit valued
This commit is contained in:
parent
01da62aa25
commit
5a89c19b5e
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: neighbor.h,v 1.8 2007/11/26 23:30:13 adamdunkels Exp $
|
* $Id: neighbor.h,v 1.9 2007/12/09 15:43:51 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
struct neighbor {
|
struct neighbor {
|
||||||
uint16_t time;
|
uint16_t time;
|
||||||
rimeaddr_t addr;
|
rimeaddr_t addr;
|
||||||
uint8_t rtmetric;
|
uint16_t rtmetric;
|
||||||
uint8_t etxptr;
|
uint8_t etxptr;
|
||||||
uint8_t etxs[NEIGHBOR_NUM_ETXS];
|
uint8_t etxs[NEIGHBOR_NUM_ETXS];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue