Wrong parameter read.
This commit is contained in:
parent
002a63c292
commit
3b007eb4be
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
lc_setMode(MODE_ANIMATION_STOP);
|
lc_setMode(MODE_ANIMATION_STOP);
|
||||||
unsigned int frame = 0;
|
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);
|
printf("view frame: data=0x%08x\n", frame);
|
||||||
lc_setFrame(frame);
|
lc_setFrame(frame);
|
||||||
|
|
Loading…
Reference in a new issue