|
Re: Default Code
I'm not looking at the code, so I'm doing this from memory but...
There is a routine in user_routines.c called default_routine, which is where all the mapping is done from the controls. This routine is all written, however, it is never called in process_data_from_master_up. Basically call default_routine() before the putdata(&txdata) call and it should do it. The better way to do it is find the comments saying something like "IFI default code" (it's a pretty big block of code), which is all commented out. It has the call to default_routine(), and a bunch of other stuff. If you uncomment all the and put the putdata(&txdata) call after that, you should be fine. Hope that helps!
If you have any questions my IM is on my profile, I'm on a lot and I'd be glad to help you as much as I can.
|