updated the camctrl.c file