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

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

Re: [avr-gcc-list] I do not understand the parameters to strcpy_P in .LS


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] I do not understand the parameters to strcpy_P in .LSS File?
Date: Fri, 20 Jul 2007 23:30:36 +0200 (MET DST)

"Bob Paddock" <address@hidden> wrote:

> int main( void )
> {
>    (void) strcpy_P( (char *) buffer, "Clock Not Set" );
> }

(void) strcpy_P( (char *) buffer, PSTR("Clock Not Set") );

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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