From 35957aa6003a5c63a4b7b80f698e6f9303f1ab0d Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Mon, 2 Apr 2007 18:06:35 +0000 Subject: [PATCH] Removed unused button code --- examples/rime/test-rudolph1.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/examples/rime/test-rudolph1.c b/examples/rime/test-rudolph1.c index 9b0da82d9..ae5fd2377 100644 --- a/examples/rime/test-rudolph1.c +++ b/examples/rime/test-rudolph1.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: test-rudolph1.c,v 1.5 2007/04/02 17:51:54 adamdunkels Exp $ + * $Id: test-rudolph1.c,v 1.6 2007/04/02 18:06:35 adamdunkels Exp $ */ /** @@ -160,19 +160,6 @@ PROCESS_THREAD(test_rudolph1_process, ev, data) } while(1) { - PROCESS_WAIT_EVENT_UNTIL(ev == sensors_event && - data == &button_sensor); - { - int i; - - fd = cfs_open("hej", CFS_WRITE); - for(i = 0; i < FILESIZE; i++) { - unsigned char buf = i; - cfs_write(fd, &buf, 1); - } - cfs_close(fd); - } - rudolph1_send(&rudolph1, CLOCK_SECOND * 2); PROCESS_WAIT_EVENT_UNTIL(ev == sensors_event && data == &button_sensor);