avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Space optimisation for PSTR()


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(), the
string 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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]