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

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

[avr-gcc-list] static variables in function called via function ptr


From: sandeep choudhary
Subject: [avr-gcc-list] static variables in function called via function ptr
Date: Tue, 4 Jan 2005 08:18:00 +0530 (IST)
User-agent: SquirrelMail/1.4.1-2.qvcs.1

Hi there,
     I am using a static variable in a function to save state of that
function. I do call the function via function pointer in ISR of timer
interrupt scheduled to fire at periodic interval. But the variable is
not retaining its value. Can anyone please help.

Thanks and regards
Sandeep Choudhary


reply via email to

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