Thread: Tasks?
View Single Post
  #8   Spotlight this post!  
Unread 28-02-2010, 13:31
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
Re: Tasks?

Quote:
Originally Posted by byteit101 View Post
you need to make the function static, or you can add tons of gobbeldygook (I would add static in front of the function)
also, if you are in your class, you can just use Task loopingTask("SpinTask", (FUNCPTR)lop);
Thanks! This fixed my problem.

Its always the simplest of things isnt it? -.-
Reply With Quote