Quantcast
Channel: Objective Development Forums
Viewing all articles
Browse latest Browse all 4524

Re: usbFunctionWrite doesn't get called

$
0
0
I think i found the mistake,
the tutorial said " argv[2], strlen(argv[2])+1,"
i wanted to reply a char[] and argv is a **char ..

so I changed strlen(argv[2])+1, to strlen(inputbuffer)+1, and it seemed to be wrong.
Now I changed this to sizeof(inputbuffer)+1 and for some reason this works now..

anyway thanks for readiny my post :)

Viewing all articles
Browse latest Browse all 4524

Trending Articles