From: Kenneth Stailey [mailto:kstailey@yahoo.com]
My first guess would be that there should be more
"volatile" keywords used.
I
think the printf()s cause the compiler to not discard
some varibles. Does
it
work without the printf()s if you don't use
"-O" (or "-O2", etc)
optimization?
I think gcc does not elminitate varibles ever when the
code is not
optimized.
Doesn't seem to make a difference, but I'll double-check.
I could be wrong, but I believe the printf will return as soon as the
physical output of the message has started - if so, it can very conceivably
affect the "real-time" behaviour of the code interfacing with the RQDX3.
Just a guess.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com)
Version: 6.0.520 / Virus Database: 318 - Release Date: 9/18/2003