View Full Version : Where is user_routines_fast()?
SeanCassidy
25-01-2004, 14:17
Does anyone know where user_routines_fast() is? I've searched every file but the library file, and can't find where it's defined, if at all. Reciever.c and Tracker.c both tell me that functions they used are called in user_routines_fast(), but it's not anywhere. What I was thinking was either that we have to make our own user_routines_fast() (Process_Data_From_Local_IO() maybe?)
Anyone have any thoughts, help or suggestions?
mightywombat
25-01-2004, 14:31
user_routines_fast is the .c file where Process_Data_From_LocalIO() is located. Process_Data_From_LocalIO() is the function that gets called every cycle from main() in main.c
user_routines_fast() is not a function.
Kevin Watson
25-01-2004, 15:18
Does anyone know where user_routines_fast() is? I've searched every file but the library file, and can't find where it's defined, if at all. Reciever.c and Tracker.c both tell me that functions they used are called in user_routines_fast(), but it's not anywhere. What I was thinking was either that we have to make our own user_routines_fast() (Process_Data_From_Local_IO() maybe?)
Anyone have any thoughts, help or suggestions?Hmm... It's just a guess, but the knuckle-head that wrote that code probably meant user_routines_fast.c. Geez, where does FIRST get these hacks :D.
-Kevin
SeanCassidy
25-01-2004, 16:14
Just to prove I'm not crazy (reciever.c):
/************************************************** *****************************
*
* FUNCTION: Timer_1_Int_Handler()
*
* PURPOSE: This code is called in response to a timer 1
* roll-over interrupt.
*
* CALLED FROM: User_Routines_Fast()
*
* PARAMETERS: None
*
* RETURNS: Nothing
*
* COMMENTS: With a 1:4 timer 1 prescaler, this function is
* called every 26.21 milliseconds
*
************************************************** *****************************/
Heh, thanks for clearing that up.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.