diff --git a/platform/esb/apps/beeper.c b/platform/esb/apps/beeper.c index c3e3371d9..76a9a5fa5 100644 --- a/platform/esb/apps/beeper.c +++ b/platform/esb/apps/beeper.c @@ -28,12 +28,14 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: beeper.c,v 1.1 2006/06/18 07:48:48 adamdunkels Exp $ + * @(#)$Id: beeper.c,v 1.2 2006/06/21 12:40:14 nifi Exp $ */ #include "contiki-esb.h" PROCESS(beeper_process, "Beeper"); +AUTOSTART_PROCESSES(&beeper_process); + static struct etimer etimer; static struct pt beeper_pt; @@ -72,7 +74,7 @@ PROCESS_THREAD(beeper_process, ev, data) PROCESS_WAIT_EVENT(); - if(ev == codeprop_event_quit) { + if(ev == PROCESS_EVENT_EXIT) { break; } else if(ev == sensors_event && data == &button_sensor) {