mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Bugfix: it is etimer_reset() that makes timer behavior stable, not etimer_restart()
This commit is contained in:
parent
67f649c4aa
commit
9c4d2da561
@ -28,7 +28,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: example-abc.c,v 1.3 2009/02/07 22:28:25 adamdunkels Exp $
|
||||
* $Id: example-abc.c,v 1.4 2009/02/07 22:38:01 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -78,7 +78,7 @@ PROCESS_THREAD(example_abc_process, ev, data)
|
||||
abc_send(&abc);
|
||||
printf("abc message sent\n");
|
||||
|
||||
etimer_restart(&et);
|
||||
etimer_reset(&et);
|
||||
}
|
||||
|
||||
PROCESS_END();
|
||||
|
Loading…
Reference in New Issue
Block a user