BUGFIX: lpfktest didn't enable the LPFK before reading keystrokes default tip

Sun, 08 Apr 2012 22:27:40 +0100

author
Philip Pemberton <philpem@philpem.me.uk>
date
Sun, 08 Apr 2012 22:27:40 +0100
changeset 13
23a3d358dad3
parent 12
f8996e336619

BUGFIX: lpfktest didn't enable the LPFK before reading keystrokes

Reported-By: Duncan Domingue

test/lpfktest.c file | annotate | diff | revisions
     1.1 diff -r f8996e336619 -r 23a3d358dad3 test/lpfktest.c
     1.2 --- a/test/lpfktest.c	Wed Jul 28 15:14:54 2010 +0100
     1.3 +++ b/test/lpfktest.c	Sun Apr 08 22:27:40 2012 +0100
     1.4 @@ -42,8 +42,9 @@
     1.5  		usleep(100000);
     1.6  	}
     1.7  
     1.8 -	// Turn LEDs off
     1.9 +	// Turn LEDs off and enable LPFK keystroke input
    1.10  	lpfk_set_leds(&ctx, false);
    1.11 +	lpfk_enable(&ctx, true);
    1.12  
    1.13  	printf("Now press the keys on the LPFK...\n");
    1.14