Removed unused button code

This commit is contained in:
adamdunkels 2007-04-02 18:06:35 +00:00
parent c24044e80c
commit 35957aa600
1 changed files with 1 additions and 14 deletions

View File

@ -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);