[EMAIL PROTECTED] napisaĆ: ... >#undef PSTR >/* #define PSTR(s) ({static char __c[] PROGMEM = (s); __c;}) */ >#define PSTR(s) (__extension__({static char __c[] PROGMEM = (s); __c;})) > ...
Thanks for answer. I am a liitle afraid that it is a root cause of my "problem". I do not use PSTR at all. My code looks like: int8_t SendFrameBodyStrP(pFrameMachineDesc pFrameDesc, prog_uint8_t * BodyData) { .... .... pgm_byte = pgm_read_byte(BodyData + i); ... ... } or: static prog_uint8_t Font3x6[]; ... charbyte = pgm_read_byte(&Font3x6[(font_index * SMALL_FONT_WIDTH) + j]); Regards, -- Artur lipowski _______________________________________________ AVR-chat mailing list AVR-chat@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-chat