[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [patch #6418] Yet another delay routines
From: |
Carlos Lamas |
Subject: |
[avr-libc-dev] [patch #6418] Yet another delay routines |
Date: |
Mon, 17 Mar 2008 14:29:25 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 |
Follow-up Comment #1, patch #6418 (project avr-libc):
Following David Brown's suggestion of using __builtin_constant_p() GCC
function to test the macro arguments I have uploaded a new version of the
headers. The main changes are:
- Errors emitted are controlled and now error messages are clear. Extra lines
of printed messages also help the IDEs to locate the source line of error in
the C code.
- Argument range checking is performed on the delay time intervals.
- Comments were updated with the changes and some modifications were
introduced for Doxygen compatibility.
- Some internal use macros called only once from __SHORT_DELAY() in the
headers have been eliminated (moving the code to the caller) to reduce the
number of macro definitions.
Everything else remains the same.
(file #15289)
_______________________________________________________
Additional Item Attachment:
File name: delay2.tgz Size:6 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6418>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/