Re: Use pointer in uC
Not sure but it seems you are messing "*" as operator with "*" as declarator.
fc1 expect a pointer to uchar
fc2 also expect a pointer to uchar but you are passing the pointer address instead, a pointer to the stack finally since pointer is passed at function call and you even can't know there original pointer address, seems too scarce to be intended...
xp is still a pointer inside fc1, then fc2(xp) fulfill fc2 declaration (without "&" operator since xp is already a pointer) nevertheless fc2(&xp) would fulfill fc2( uchar **xp ) instead.
cheers ;-)