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

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

Re: [avr-gcc-list] Pointer to a function in a structure in flash?


From: E . Weddington
Subject: Re: [avr-gcc-list] Pointer to a function in a structure in flash?
Date: Tue, 28 Oct 2003 15:51:36 GMT

> > You also wrote:
> 
> > Then this sounds like it's an issue with getting 'token'
> 
> It was, I had a PROGMEM where it should not have been.

Ah! Glad it's working then.
 
> > Also, shouldn't you change the GCC portion (above) to:
> 
> I tried that and the system goes off to never-never-land, 
what I have
> above works, below does not (I did change [0] to [i] as 
required).

Whoops! Thanks for catching that. That's odd that it goes 
crazy...
 
> > #if defined( __GCC_VERSION__ )
> > retval = cmd_func_table[0].function((CONST char *) 
token,
> > (CONST char *) tokptr);
> > #endif

Eric 
 






reply via email to

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