|
From: | E. Weddington |
Subject: | Re: [avr-gcc-list] Space optimisation for PSTR() |
Date: | Fri, 27 Aug 2004 10:20:11 -0600 |
User-agent: | Mozilla Thunderbird 0.7.3 (Windows/20040803) |
E. Weddington wrote:
Bernard Fouche wrote:Hi there.It seems that if I use twice the same string in the program thru PSTR(), thestring will be stored twice? For instance: fputs_P("blabla",OutStream); then later in the code: fputs_P("blabla",OutStream);That probably should be: fputs_P(PSTR("blabla", OutStream); Right?
Correcting my correction (missing parens) :-) : fputs_P(PSTR("blabla"), OutStream);
[Prev in Thread] | Current Thread | [Next in Thread] |