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

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

Re: [avr-gcc-list] Why no pgm_read_long() / pgm_read_long_far()?


From: E. Weddington
Subject: Re: [avr-gcc-list] Why no pgm_read_long() / pgm_read_long_far()?
Date: Wed, 21 Jan 2004 09:06:08 -0700

On 21 Jan 2004 at 1:05, J.C. Wren wrote:

> avr/pgmspace.h seems to be lacking pgm_read_long() and 
> pgm_read_long_far().  Any of you compiler gurus up for whipping those up 
> and adding them to the next release?
> 

Technically, it's "library gurus", as it doesn't really have anything to do 
with the compiler per se. :-)

You can temporarily work around this by using memcpy_P to copy your 4 bytes.

Eric


reply via email to

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