mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-10-17 01:26:28 +00:00
fixed announcement compilation error
This commit is contained in:
parent
aeefa75304
commit
a1b4597b95
@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: xmac.c,v 1.42 2009/11/27 12:49:27 adamdunkels Exp $
|
* $Id: xmac.c,v 1.43 2009/11/27 14:27:50 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -389,8 +389,8 @@ format_announcement(char *hdr)
|
|||||||
for(a = announcement_list();
|
for(a = announcement_list();
|
||||||
a != NULL && adata.num < ANNOUNCEMENT_MAX;
|
a != NULL && adata.num < ANNOUNCEMENT_MAX;
|
||||||
a = a->next) {
|
a = a->next) {
|
||||||
adata.data[adata->num].id = a->id;
|
adata.data[adata.num].id = a->id;
|
||||||
adata.data[adata->num].value = a->value;
|
adata.data[adata.num].value = a->value;
|
||||||
adata.num++;
|
adata.num++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user