Tue, 26 Aug 2008 22:13:49 +0100
added #ifdef DEBUG around "key down" debug printf
test/lpfklife.c | file | annotate | diff | revisions |
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