|
Re: Modified default code gives "code violation"
I don't see anything in the code you posted that would cause a code violation. It would help if you posted your entire Default_Routine and Process_Data_From_Master_uP
Also, since you need joystick_input_2 and drive_output to be signed, it makes your code easier to understand and modify if you declare them as "signed char". Also, I can't remember if the C18 default for char is signed or unsigned.
Last edited by Joe Ross : 09-02-2006 at 19:34.
|