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