Go to Post I'm here to unintentionally offer insightful quotes. - Jeff Waegelin [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 04-02-2007, 12:02
fallen751 fallen751 is offline
Registered User
FRC #2052
 
Join Date: Jan 2007
Location: Minnesota
Posts: 17
fallen751 is an unknown quantity at this point
get_tracking_state()

I have a question about how to use get_tracking_state(). I have included the tracking.h header file in my code, and I call the function in a normal if statement like this: if (get_tracking_state() == CAMERA_ON_TARGET)
{
our code;
}
anyways no where in user_routines_fast.c have I defined get_tracking_state(), and the only reason it compiles most of he way is because its prototyped in tracking.h. So my question is how I do I define it, or is there a global variable I can use that will suit my need.

The error I get at the end of the compile looks like this;
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find definition of symbol 'get_tracking_state' in file 'C:\Feb 3rd\frc_camera_21\user_routines_fast.o'.
Errors : 1

thanks for any help!!!
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi