Quote:
Originally Posted by fallen751
oh! I figured it out, apparently I added in extra space before my if statement like if (get_camera_state() == CAMERA_ON_TARGET), so I had to delete the space like this if(get_camera_state() == CAMERA_ON_TARGET). thanks for your help!
|
That shouldn't affect it at all. C is virtually always whitespace (ie, spaces, tabs, newlines) insensitive.
If you fixed the case of your function call, that's what solved your problem. If you didn't (and left it lower case), I would really appreciate knowing that... always have to be on the lookout for the dumb quirks of the compiler.
