test/lpfklife.c

changeset 9
1519a9a8d924
parent 5
2fc2b426ace9
child 10
f76c929f65e6
     1.1 --- a/test/lpfklife.c	Tue Aug 26 22:05:07 2008 +0100
     1.2 +++ b/test/lpfklife.c	Tue Aug 26 22:13:49 2008 +0100
     1.3 @@ -97,7 +97,9 @@
     1.4  		i = lpfk_read(&ctx);
     1.5  
     1.6  		if (i >= 0) {
     1.7 +#ifdef DEBUG
     1.8  			printf("key %d\n", i);
     1.9 +#endif
    1.10  			// Key down, toggle the LED
    1.11  			lpfk_set_led(&ctx, i, !lpfk_get_led(&ctx, i));
    1.12