clear attributes when clearing buffer
This commit is contained in:
parent
26f339eea7
commit
fe4f8f4339
|
@ -33,7 +33,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: rimebuf.c,v 1.14 2008/04/02 14:49:21 nifi Exp $
|
||||
* $Id: rimebuf.c,v 1.15 2008/04/03 09:07:28 nifi Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -100,6 +100,7 @@ rimebuf_clear(void)
|
|||
hdrptr = RIMEBUF_HDR_SIZE;
|
||||
|
||||
rimebufptr = &rimebuf[RIMEBUF_HDR_SIZE];
|
||||
rimebuf_attr_clear();
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue