Hello Now I'm using MDK 3.5. The origin code didn't use __packed keyword in the definition of structure. To not to change the code, I want to use the #pragma __packed in the beginning of the code. Is it right if I do so? Thanks
No sorry __packed is an variable attribute. There is no "pragma" that packs all variables in a source file.