From d9900a474a7a708393c0b84013ed7263457a3d54 Mon Sep 17 00:00:00 2001 From: joxe Date: Thu, 14 Jan 2010 17:39:22 +0000 Subject: [PATCH] fixed to work with new sensor API --- examples/jcreate/jcreate-shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/jcreate/jcreate-shell.c b/examples/jcreate/jcreate-shell.c index 5a4e03b46..f4bc5310d 100644 --- a/examples/jcreate/jcreate-shell.c +++ b/examples/jcreate/jcreate-shell.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: jcreate-shell.c,v 1.2 2009/06/18 09:01:16 adamdunkels Exp $ + * $Id: jcreate-shell.c,v 1.3 2010/01/14 17:39:22 joxe Exp $ */ /** @@ -231,7 +231,7 @@ PROCESS_THREAD(sky_shell_process, ev, data) shell_text_init(); shell_time_init(); - acc_sensor.activate(); + SENSORS_ACTIVATE(&acc_sensor); shell_register_command(&acc_command); shell_register_command(&poke_command); shell_register_command(&peek_command);