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

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

Re: [avr-gcc-list] Array of pointers to functions


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Array of pointers to functions
Date: Mon, 19 Jul 2004 09:54:08 +0200 (MET DST)

"Royce & Sharal Pereira" <address@hidden> wrote:

> void (*call_fun[])() PROGMEM = { fun1, fun2, fun3};

PROGMEM?  You gotta extract them with pgm_read_word().

Is it really worth the hassle for just 3 pointers?  It'll save you 6
bytes of RAM...

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

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