I am trying to port code from cosmic compiler to code warrior 5.2 for HCS12 controller, when I am calling a function which is inside another function , the value passed to the first function is not updated correctly,
eg. void Update_Display(uint8_t update)
{
LCD_srWriteToDisplay(string1,SCREEN_LINE_WIDTH,20,0);
}
inside LCD_srWriteToDisplay function, the arguments are not having the same value which I have passed.