avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bug #32650] Missing include in util/delay.h


From: Stu Bell
Subject: [avr-libc-dev] [bug #32650] Missing include in util/delay.h
Date: Fri, 04 Mar 2011 04:48:38 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.14) Gecko/20110218 Firefox/3.6.14 ( .NET CLR 3.5.30729)

Follow-up Comment #1, bug #32650 (project avr-libc):

The math library is not needed if you do not pass a variable to _delay_ms (or
_delay_us) as the instructions to avr-libc warn you not to do.  Only constants
can be supplied to the delay functions.

In fact, following your path will bring in the floating-point library
unnecessarily and will cause the delay functions to generate far more delay
that requested.

For more on the use of the delay functions, please read
http://www.nongnu.org/avr-libc/user-manual/group__util__delay.html

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?32650>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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