const char Unitstring[]="%_VOL"; char Buffer[1024]; sprintf(Buffer,"Unit: %s",Unitstring);
ends up having "Unit: ERRORVOL" instead of "Unit: %_VOL" in Buffer. I would expect this with
sprintf(Buffer,"Unit: %_VOL"); instead sprintf(Buffer,"Unit: %%_VOL");
View all questions in Keil forum