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

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

Re: [avr-gcc-list] Program Space String & optimization


From: bolet (sent by Nabble.com)
Subject: Re: [avr-gcc-list] Program Space String & optimization
Date: Thu, 15 Dec 2005 01:52:39 -0800 (PST)

>Your volatile qualifier is at the wrong place.  You're marking the
>object "txt" points to as volatile, not the pointer itself.  Change
>that into
>
>PGM_P volatile txt = P_Txt;
>
>and it will work.

Thank you for your fast answer. I've compiled whith those changes and it works as expected.
I supose I'll have to read more C manuals...

>Btw., to make other people's job (who are willing to help you) easier,
>please supply compilable examples (all required #includes present,
>things like "Init code here" in /* */ comment delimiters).  Thank you.

Sure I will do next time. And Thank you again

   Bolet





Sent from the AVR - gcc forum at Nabble.com:
Re: Program Space String & optimization
reply via email to

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