You have written :

IF (campla==1)
{

canera_state();

your forgot to set the }

Anyways, in which line do you get the Error?

Last edited by nightshade; 10/06/08 15:02.