[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] __builtin_avr_delay_cycles expects an integer constan
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] __builtin_avr_delay_cycles expects an integer constant. |
Date: |
Thu, 3 May 2012 12:00:32 +0200 (MET DST) |
In article <address@hidden> you write:
>As the error message requestst an /integer/ constant:
>Does the error disappear if you avoid float constants?
The (compile-time) floating-point calculation is part of the
_delay_ms/_delay_us functions anyway (for rounding etc.), but it's
supposed to be optimized away.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)