[Icc-avr] Error message
BobGardner at aol.com
BobGardner at aol.com
Wed Sep 5 18:50:44 PDT 2007
In a message dated 9/5/2007 6:36:47 P.M. Eastern Daylight Time,
paul.aa9gg at gmail.com writes:
I also use the Get & Set functions to exchange values between the c files,
never use extern.
Unsigned char GetEngineTemperature(void)
{
Return ucEngineTemperature;
}
========================================================
You'll need to give a summary of the pros and cons of this idea... its a
lose in the speed and space department. Its a win in readability? What other
criterion could possibly outweigh speed and space in any program? If the boss
had a choice of two programs that passed the atp, one was written so that
every variable was accessed with a call and a return instead of just a load, and
as a result, ran slower and needed a bigger size flash, adding $2 extra for
10,000 32k processors instead of 10,000 16k processors, which would he approve
for production?
************************************** Get a sneak peek of the all-new AOL at
http://discover.aol.com/memed/aolcom30tour
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dragonsgate.net/pipermail/icc-avr/attachments/20070905/e9e02531/attachment.html
More information about the Icc-avr
mailing list