From 3b007eb4bebb35e3b37d0d34d1a5a9fa49ad05c6 Mon Sep 17 00:00:00 2001 From: Kai Lauterbach Date: Wed, 4 Jan 2012 16:32:06 +0100 Subject: [PATCH] Wrong parameter read. --- client/clcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/clcc.c b/client/clcc.c index c9638a6..4c4cd72 100644 --- a/client/clcc.c +++ b/client/clcc.c @@ -52,7 +52,7 @@ int main(int argc, char **argv) lc_setMode(MODE_ANIMATION_STOP); unsigned int frame = 0; - if ( sscanf((char*)argv[4], "0x%08x", &frame) ) + if ( sscanf((char*)argv[2], "0x%08x", &frame) ) { printf("view frame: data=0x%08x\n", frame); lc_setFrame(frame);