hi guys
i only change a const uint8 value, why quite some change in s19?
who can tell me. thank you very much..
Because of all the things you did with that value. It being a const means the compiler gets to optimize quite a bit of all the code paths that number is ever involved in, which can lead to any number of changes. It can even change the size of the code, leading to even more changes all over the place caused by address changes.
my const is just a sw version, and it will send out by LIN only. no other logic.. strange
I would recommend diff'ing the object code generated to see where the differences occur.As per the above comment, there could be any unknown knock on effect of changing this value.