View Single Post
  #5   Spotlight this post!  
Unread 05-02-2007, 05:54
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: get_tracking_state()

Quote:
Originally Posted by fallen751 View Post
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.
__________________