Re: [avr-libc-dev] Problem with _delay_ms()

2005-08-19 Thread Joerg Wunsch
As Curtis Maloney wrote: > The new code called it twice, with different values. So the > inline-able function was not inlined, and thus the constant > wasn't cleaned up. Ouch. > I fixed this by giving the function declaration > __attribute__((always_inline))... Yes, that's a

[avr-libc-dev] [bug #14224] _delay_ms() not inlining if called more than once in a unit

2005-08-19 Thread anonymous
URL: Summary: _delay_ms() not inlining if called more than once in a unit Project: AVR C Runtime Library Submitted by: None Submitted on: Fri 08/19/05 at 07:15