Hi Rob, 2010/5/3 Rob Hamerling <[email protected]>: > > I don't think so.
Well, there is: > You are probably right about the compare of signed/unsigned/universal > constants. Universals should be signed too, but don't work that way. That was my point at the time and in my previous postings. Now you found a work-around: > But when > both are declared as 'sdword' constants the procedure works as designed: the > else-branch is taken and _usec_delay(1) is compiled. > I would, but you spent time to calibrate the delay procedures for different > oscillator frequencies. I assumed the code was OK, but I simply didn't > understand it. If OK means 'get the supposed result' then you assumend right. It was not so obvious to read though. > I would prefer you (or someone else) to redo the tests. When we come to the > same conclusion we'll see who modifies the library, otherwise we need more > analysis. I did some basic tests and that confirmed your statement. Changing & testing the delay library showed different results, so it does probably take more effort to change it. Since the code runs as it is supposed to, I leave it for now. But feel free to work on it. Joep -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
