[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Problem with _delay_ms()
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Problem with _delay_ms() |
Date: |
Fri, 19 Aug 2005 09:11:01 +0200 |
User-agent: |
Mutt/1.4.2.1i |
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 good idea anyway.
> I suppose I should submit this to the bug tracker?
Please do.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)